[wp-trac] [WordPress Trac] #21949: Allow private taxonomies (public = false)

WordPress Trac noreply at wordpress.org
Wed Nov 18 19:58:23 UTC 2015


#21949: Allow private taxonomies (public = false)
--------------------------------+---------------------------
 Reporter:  wpsmith             |       Owner:  boonebgorges
     Type:  enhancement         |      Status:  closed
 Priority:  normal              |   Milestone:  4.4
Component:  Taxonomy            |     Version:
 Severity:  normal              |  Resolution:  fixed
 Keywords:  has-patch rest-api  |     Focuses:
--------------------------------+---------------------------
Changes (by boonebgorges):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"35680"]:
 {{{
 #!CommitTicketReference repository="" revision="35680"
 Allow filtering by non-public taxonomies on edit.php.

 [35333] enforces protection for taxonomies by preventing non-public
 taxonomies
 from registering query_vars in `register_taxonomy()`. This broke the use
 of
 taxonomy query_vars on edit.php, breaking backward compatibility and
 creating inconsistency with the treatment introduced in [34247], which
 allowed
 `taxonomy=foo` filtering on the Dashboard, even when `foo` is non-public.
 In
 this changeset, we make the same Dashboard exception for the query_var.

 Fixes #21949.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/21949#comment:45>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list