[wp-trac] [WordPress Trac] #28412: get_queried_object_id() method in pre_get_posts
WordPress Trac
noreply at wordpress.org
Tue Jun 3 09:50:20 UTC 2014
#28412: get_queried_object_id() method in pre_get_posts
------------------------------------+--------------------
Reporter: wpsmith | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.0
Component: Query | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses:
------------------------------------+--------------------
Comment (by kovshenin):
An alternative approach in [attachment:28412.diff]: since we're checking
for null with `is_null()`, let's actually set it to null during init.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28412#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list