mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-02 19:54:28 +00:00
b7c8dbf4a200d3b101a02ecab26bbeb87f4fe5ca
WP_Query::get_queried_object().
Setting the default value of the `queried_object_id` property to `0` meant that, when called early enough in the WP bootstrap, `get_queried_object()` could short-circuit the normal query by fooling it into thinking that the request was for a page with id 0. Setting the default value to `null` instead avoids this problem. Props gradyetc, jazbek. Fixes #31355. git-svn-id: https://develop.svn.wordpress.org/trunk@34073 602fd350-edb4-49c9-b593-d223f7449a82
Description
No description provided
Languages
PHP
80.5%
CSS
9.4%
JavaScript
8.5%
SCSS
0.9%
HTML
0.7%