In `WP::handle_404()`, make sure `$wp_query->post` is a `WP_Post` object before cloning it.
Props igmoweb for initial patch. See #35013. Built from https://develop.svn.wordpress.org/trunk@35994 git-svn-id: https://core.svn.wordpress.org/trunk@35959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Loading
Please register or sign in to comment