[wp-trac] [WordPress Trac] #34491: Introduce a 'publicly_queryable' argument to register_taxonomy

WordPress Trac noreply at wordpress.org
Thu Oct 29 20:44:24 UTC 2015


#34491: Introduce a 'publicly_queryable' argument to register_taxonomy
-------------------------+-----------------------------
 Reporter:  Chouby       |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Taxonomy     |    Version:  trunk
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 Since #21949, it is no more possible to query non-public taxonomies.

 Instead of controlling whether a taxonomy can be queried directly with the
 `public` argument, I propose to handle this the same way it is already
 done for post types.

 A new argument `publicly_queryable` controls whether it is possible to
 query the taxonomy on front end. The `public` argument controls the
 default value for `publicly_queryable`, `show_ui`, and
 `show_in_nav_menus`.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34491>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list