#13280 closed defect (bug) (fixed)
Duplicate key in Wordpress WP_Query::fill_query_vars
Reported by: | lriggle | Owned by: | ryan |
---|---|---|---|
Milestone: | 3.0 | Priority: | low |
Severity: | minor | Version: | |
Component: | Query | Keywords: | |
Focuses: | Cc: |
Description
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.
Change History (3)
Note: See
TracTickets for help on using
tickets.
(In [14477]) Remove duplicated query var. props lriggle, fixes #13280.