[wp-trac] [WordPress Trac] #23862: Clean up old WP->public_query_vars and WP->private_query_vars

WordPress Trac noreply at wordpress.org
Mon Mar 25 19:20:08 UTC 2013


#23862: Clean up old WP->public_query_vars and WP->private_query_vars
-----------------------------+--------------------------
 Reporter:  prettyboymp      |       Type:  defect (bug)
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  General
  Version:                   |   Severity:  trivial
 Keywords:                   |
-----------------------------+--------------------------
 There are some old non-working public_query_vars still in the WP class
 that should be cleaned up.

 * posts - broken 10 years ago
 http://core.trac.wordpress.org/changeset/182/trunk/blog.header.php
 * search - hasn’t done anything since wp_query was created
 * calendar - don’t see support since ‘b2’
 * pb - don’t see support since ‘b2’
 * static - only used in determining if is_page, though it no longer works
 correctly, added http://core.trac.wordpress.org/changeset/1527/trunk, but
 functionality was partially changed the next commit

 Also, since 'post_type' is now a public_query_var, it can be removed from
 the private_query_vars.

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


More information about the wp-trac mailing list