[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
Wed Nov 18 23:47:47 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:  accepted
Component:  Posts, Post Types                    |   Milestone:  4.4
 Severity:  normal                               |     Version:  2.9
 Keywords:  has-patch needs-unit-tests needs-    |  Resolution:
  testing                                        |     Focuses:
                                                 |  administration
-------------------------------------------------+-------------------------
Changes (by johnbillion):

 * keywords:  needs-patch => has-patch needs-unit-tests needs-testing


Comment:

 @nerrad Can you try out [attachment:33763.3.diff] please? It should fix
 your issue. The edit post link is always passed through the
 `get_edit_post_link` filter, even if it's empty.

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


More information about the wp-trac mailing list