[wp-trac] [WordPress Trac] #13535: get_query_var() not working as expected.

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 8 06:28:50 UTC 2010


#13535: get_query_var() not working as expected.
-------------------------------------------------+--------------------------
 Reporter:  pmdci                                |        Owner:  ryan    
     Type:  defect (bug)                         |       Status:  reopened
 Priority:  normal                               |    Milestone:  3.0     
Component:  Query                                |      Version:  3.0     
 Severity:  major                                |   Resolution:          
 Keywords:  post_Type, get_query_var, is_single  |  
-------------------------------------------------+--------------------------

Comment(by dd32):

 The question should be if {{{get_query_var()}}} should return query vars
 which have been specified explicitly in the Query, or if it should also
 return inferred/default values.

 As it is right now, I believe its following the expected behaviour, the
 post_type has not been specified explicitly, instead, its been inferred
 from a request pattern

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


More information about the wp-trac mailing list