[wp-trac] [WordPress Trac] #44666: Don't use hardcoded delete_post capability for custom post types

WordPress Trac noreply at wordpress.org
Sun Jul 29 10:59:38 UTC 2018


#44666: Don't use hardcoded delete_post capability for custom post types
-------------------------------+------------------------------
 Reporter:  swissspidy         |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  needs-patch        |     Focuses:  administration
-------------------------------+------------------------------

Comment (by swissspidy):

 `get_delete_post_link()` has the same wrong check apparently.

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


More information about the wp-trac mailing list