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

WordPress Trac noreply at wordpress.org
Thu Nov 19 16:24:39 UTC 2015


#33763: Post types with show_ui set to false should not be accessible via the admin
area
-------------------------------------------------+-------------------------
 Reporter:  johnbillion                          |       Owner:
     Type:  defect (bug)                         |  johnbillion
 Priority:  normal                               |      Status:  closed
Component:  Posts, Post Types                    |   Milestone:  4.4
 Severity:  normal                               |     Version:  2.9
 Keywords:  has-patch needs-unit-tests needs-    |  Resolution:  fixed
  testing                                        |     Focuses:
                                                 |  administration
-------------------------------------------------+-------------------------
Changes (by johnbillion):

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


Comment:

 In [changeset:"35704"]:
 {{{
 #!CommitTicketReference repository="" revision="35704"
 Move the `show_ui` logic into the `get_edit_post_link()` and
 `get_edit_term_link()` functions to facilitate post types and terms which
 specify `show_ui` as false but provide a custom editing UI via the
 `get_edit_post_link` and `get_edit_term_link` filters.

 Fixes #33763
 Fixes #33938
 }}}

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


More information about the wp-trac mailing list