[wp-trac] [WordPress Trac] #21394: query.php: get_queried_object() result cannot be assumed to be non-NULL

WordPress Trac noreply at wordpress.org
Wed Dec 19 01:33:18 UTC 2012


#21394: query.php: get_queried_object() result cannot be assumed to be non-NULL
------------------------------+-----------------------------
 Reporter:  lkraav            |       Owner:  wonderboymusic
     Type:  defect (bug)      |      Status:  accepted
 Priority:  normal            |   Milestone:  3.6
Component:  Warnings/Notices  |     Version:  3.3.2
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |
------------------------------+-----------------------------
Changes (by markoheijnen):

 * keywords:  has-patch early => has-patch
 * milestone:  Future Release => 3.6


Comment:

 in wp-includes/general-template.php there was also a case where the
 assumption was made that get_queried_object wasn't null.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21394#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list