[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
Thu Sep 1 04:06:17 UTC 2022


#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:  6.1
Component:  Query                                |     Version:  4.0
 Severity:  normal                               |  Resolution:
 Keywords:  2nd-opinion has-patch has-unit-      |     Focuses:
  tests php8                                     |
-------------------------------------------------+-------------------------

Comment (by bwbama):

 Replying to [comment:46 hellofromTonya]:
 > Query changes by design need careful consideration and plenty of soak
 time to ensure nothing breaks. With 5.9 feature freeze ~2 days away and
 Beta 1 ~9 days, it's too late in the release cycle for a change to query.
 Punting this out of 5.9. As the next milestone is not yet available,
 moving to `Future Release`. Once available, feel free to move into the
 next release.

 Then honestly, freeze features until things like this can be addressed.
 Eight years is absolutely insane. Now with 8.2 in Beta, the window for
 actually addressing this is becoming smaller and smaller before someone
 needs to rush in and actually spend time on it.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/29660#comment:56>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list