[wp-trac] [WordPress Trac] #23862: Clean up old WP->public_query_vars and WP->private_query_vars
WordPress Trac
noreply at wordpress.org
Thu Mar 27 15:07:54 UTC 2014
#23862: Clean up old WP->public_query_vars and WP->private_query_vars
--------------------------+-----------------------------
Reporter: prettyboymp | Owner: nacin
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Future Release
Component: Query | Version:
Severity: trivial | Resolution:
Keywords: has-patch | Focuses:
--------------------------+-----------------------------
Comment (by nacin):
#27549 and #27547 — this definitely breaks things, in this case the admin
which uses wp() and thus private query variables directly.
So at least for the post_type query variable, which is a particularly
special case in the WP class, it's *not* invalid for it to be listed in
public *and* private query variables.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/23862#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list