[wp-trac] [WordPress Trac] #26627: Regression: get_queried_object no longer working with pre_get_posts and pretty permalinks
WordPress Trac
noreply at wordpress.org
Wed Mar 5 18:14:17 UTC 2014
#26627: Regression: get_queried_object no longer working with pre_get_posts and
pretty permalinks
-------------------------------------------------+-----------------------
Reporter: Otto42 | Owner: nacin
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 3.8.1
Component: Query | Version: 3.8
Severity: normal | Resolution:
Keywords: has-patch needs-testing fixed-major | Focuses:
-------------------------------------------------+-----------------------
Changes (by wonderboymusic):
* status: closed => reopened
* resolution: fixed =>
Comment:
[attachment:26627.3.diff 26627.3.diff] makes `get_queried_object()` work
for tags in `pre_get_posts` - note, tags do not get rolled up into
`tax_query`, categories do.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26627#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list