[wp-trac] [WordPress Trac] #13280: Duplicate key in Wordpress WP_Query::fill_query_vars

WordPress Trac wp-trac at lists.automattic.com
Thu May 6 17:41:26 UTC 2010


#13280: Duplicate key in Wordpress WP_Query::fill_query_vars
--------------------------+-------------------------------------------------
 Reporter:  lriggle       |       Owner:  ryan      
     Type:  defect (bug)  |      Status:  new       
 Priority:  low           |   Milestone:  Unassigned
Component:  Query         |     Version:            
 Severity:  minor         |    Keywords:            
--------------------------+-------------------------------------------------
 In the fill_query_vars method of the WP_Query class, the keys array has
 the key of "hour" listed twice.

 {{{
 $keys = array('error', 'm', 'p', 'post_parent', 'subpost', 'subpost_id',
 'attachment', 'attachment_id', 'name', 'hour', 'static', 'pagename',
 'page_id', 'second', 'minute', 'hour', 'day', 'monthnum', 'year', 'w',
 'category_name', 'tag', 'cat', 'tag_id', 'author_name', 'feed', 'tb',
 'paged', 'comments_popup', 'meta_key', 'meta_value', 'preview');
 }}}

 I'm not sure this actually affects anything, nor what the second hour
 might be referencing, but I thought I'd bring it to your attention.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13280>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list