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

WordPress Trac noreply at wordpress.org
Wed Sep 1 10:17:19 UTC 2021


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

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 Invalid, since this is handled by `map_meta_cap`

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


More information about the wp-trac mailing list