Skip to content
Commit b6148677 authored by Pascal Birchler's avatar Pascal Birchler
Browse files

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
parent 9f702cfc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment