[wp-trac] [WordPress Trac] #48860: get_queried_object return false when executed in parse_query hook

WordPress Trac noreply at wordpress.org
Tue Dec 3 22:42:21 UTC 2019


#48860: get_queried_object return false when executed in parse_query hook
--------------------------+-----------------------
 Reporter:  fliespl       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:
Component:  Query         |     Version:  5.3
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+-----------------------
Changes (by fliespl):

 * status:  closed => reopened
 * resolution:  duplicate =>


Comment:

 I have seen this thread and I am pretty sure this issue is not handled
 there.

 Thread you mention is about usage of function that might return null.

 Issue described here is about proper population of object information in
 get_queried_object and get_queried_object_id functions.

 I am re-opening it as I have a feeling it's totally different issue.

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


More information about the wp-trac mailing list