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

WordPress Trac noreply at wordpress.org
Wed Sep 16 19:04:59 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:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"34247"]:
 {{{
 #!CommitTicketReference repository="" revision="34247"
 Allow taxonomies to be non-public.

 [13216] introduced the 'public' argument for `register_taxonomy()`. This
 param
 was used to set defaults for 'show_ui' and a number of other params, but
 it
 never did anything itself.

 With this changeset, taxonomies registered with `public=false` will no
 longer
 be queryable on the front end, ie via taxonomy archive queries.

 Props wpsmith, ocean90, nacin, ericlewis, boonebgorges.
 Fixes #21949.
 }}}

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


More information about the wp-trac mailing list