WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #18614, comment 1


Ignore:
Timestamp:
09/07/11 19:03:33 (3 years ago)
Author:
scribu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18614, comment 1

    v1 v2  
    11What about when you are on a taxonomy page and use 'pre_get_posts' to set an author etc. etc.? We can't apply band-aids like this. 
    22 
    3 As a workaround for your problem, you can reset {{{$wp_query->queried_object}}} to whatever you need, without modifying Core: 
     3You can reset {{{$wp_query->queried_object}}} to whatever you need, without modifying Core: 
    44 
    55{{{