[wp-trac] [WordPress Trac] #29660: Functions in wp_includes/query.php assume non-null return value from get_queried_object
WordPress Trac
noreply at wordpress.org
Fri Feb 12 21:43:12 UTC 2021
#29660: Functions in wp_includes/query.php assume non-null return value from
get_queried_object
-------------------------------------------------+-------------------------
Reporter: yellyc | Owner:
| SergeyBiryukov
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 5.7
Component: Query | Version: 4.0
Severity: normal | Resolution:
Keywords: 2nd-opinion has-patch has-unit- | Focuses:
tests |
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):
* owner: (none) => SergeyBiryukov
* status: new => reviewing
* milestone: Future Release => 5.7
Comment:
As seen in #52510, this is now more prominent with PHP 8 (warnings instead
of notices).
Moving to attempt to figure out the way forward from comment:21 one way or
another for 5.7.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29660#comment:40>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list