FIX: ensures shadow has last_posted_at before comparing to site setting (PR #10374)

GitHub

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

https://meta.discourse.org/t/anonymous-mode-not-working/159869/3