try looking up a post by slug if we got a 404

an attempt to solve the issue where permalinks that include dates sometimes do not match up between servers in different timezones.

see https://github.com/GigaOM/gigaom/issues/5121
Do you want to pass in the `WP_Query` object instead of inheriting from the environment?

You can guess my preference: pass, never inherit.