FIX: Polls can be quoted and loaded (PR #10456)

Variable ‘post’ was used to hold the current post and the post where the poll appeared, which can be different when polls are quoted.

GitHub

This pull request has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/expanding-the-onebox-of-another-topic-with-two-or-more-polls-not-possible/161054/2

Excellent :+1:

This has bothered me for aaaaages.

Commit has a description and a test! :heart_eyes::heart_eyes::heart_eyes: