[wp-trac] [WordPress Trac] #33938: Taxonomies with show_ui set to false should not be accessible via the admin area

WordPress Trac noreply at wordpress.org
Sun Sep 20 17:10:57 UTC 2015


#33938: Taxonomies with show_ui set to false should not be accessible via the admin
area
--------------------------+-----------------------------
 Reporter:  johnbillion   |       Owner:  johnbillion
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.4
Component:  Taxonomy      |     Version:  2.3
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |     Focuses:  administration
--------------------------+-----------------------------
Changes (by johnbillion):

 * owner:   => johnbillion
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"34359"]:
 {{{
 #!CommitTicketReference repository="" revision="34359"
 Remove the ability to view the term editing screen for taxonomies with
 `show_ui` set to `false`. It is unexpected and unintended behaviour that
 this is allowed.

 If your plugin or site does rely on this behaviour, the arguments that are
 passed to `register_taxonomy()` should be altered so that `show_ui` is
 `true`, and arguments such as `show_in_menu` and `show_in_nav_menus` are
 false.

 Fixes #33938
 }}}

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


More information about the wp-trac mailing list