[wp-trac] [WordPress Trac] #21949: Allow private taxonomies (public = false)
WordPress Trac
noreply at wordpress.org
Mon Apr 8 04:16:58 UTC 2013
#21949: Allow private taxonomies (public = false)
----------------------------------------+------------------
Reporter: wpsmith | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.6
Component: Taxonomy | Version:
Severity: normal | Resolution:
Keywords: has-patch commit 3.6-early |
----------------------------------------+------------------
Comment (by ericlewis):
In [attachment:21949.1.diff], I did a couple things.
Reworked the key => value variable usage in the first foreach loop (the
key variable wasn't being used, and had misleading naming).
Fixed a variable naming typo ($queryiable_taxonomies should be
$queryable_taxonomies).
I also removed the urlencoding, because it's unnecessary, isn't it? Since
we're within the WP class, the query vars are being populated directly
from the URL, and literal spaces are not part of valid URLs.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21949#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list