WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #33763, comment 14


Ignore:
Timestamp:
11/16/2015 04:10:36 PM (5 years ago)
Author:
nerrad
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33763, comment 14

    initial v1  
    33In our case we want `show_ui` set to false so it restricts access to the native post_editor for our custom post type.  However, we were using the `get_edit_post_link` filter to filter the edit links to point to our custom ui for editing our post type.
    44
    5 The problem is that with the change introduced here, if `show_ui` is set to false, not only does it restrict access to the native editor (huge plus by the way) but it also prevents the edit links from being shown.  Currently the only way to rectify that is to set `show_ui` to true.
     5The problem is that with the change introduced here, if `show_ui` is set to false, not only does it restrict access to the native editor (huge plus by the way) but it also prevents the custom filtered edit links from being shown.  Currently the only way to rectify that is to set `show_ui` to true.
    66
    77I see that this is because of this bit of code: