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

WordPress Trac wp-trac at lists.automattic.com
Thu Jul 26 21:39:13 UTC 2012


#21394: query.php: get_queried_object() result cannot be assumed to be non-NULL
--------------------------+------------------------------
 Reporter:  lkraav        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Query         |     Version:  3.3.2
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------
Changes (by lkraav):

 * cc: leho@… (added)


Comment:

 Bleh. Ignore the "patch" above.

 {{{
 if (is_null($page_obj)) return false;
 }}}

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


More information about the wp-trac mailing list