[wp-trac] [WordPress Trac] #35250: Enable developer to omit "internal" taxonomies from return value of get_taxonomies()

WordPress Trac noreply at wordpress.org
Tue Dec 29 07:57:20 UTC 2015


#35250: Enable developer to omit "internal" taxonomies from return value of
get_taxonomies()
----------------------------------+------------------------------
 Reporter:  MikeSchinkel          |       Owner:
     Type:  enhancement           |      Status:  new
 Priority:  normal                |   Milestone:  Awaiting Review
Component:  Taxonomy              |     Version:
 Severity:  normal                |  Resolution:
 Keywords:  has-patch needs-docs  |     Focuses:
----------------------------------+------------------------------

Comment (by dd32):

 I'm not sure we should make it easy for developers to "hide" their
 taxonomy, even if only used internally to their plugin or theme.

 Rather, anyone who is listing taxonomies, should probably only list what
 makes sense in their context - for example, only showing taxonomies with
 `public => true`.

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


More information about the wp-trac mailing list