[wp-trac] [WordPress Trac] #30991: Post type object capability 'delete_posts' is referenced in the posts list table but does not exist unless 'map_meta_cap' is set to true for post type

WordPress Trac noreply at wordpress.org
Fri Jan 23 20:00:56 UTC 2015


#30991: Post type object capability 'delete_posts' is referenced in the posts list
table but does not exist unless 'map_meta_cap' is set to true for post type
-------------------------------+------------------------------
 Reporter:  bamadesigner       |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  4.1
 Severity:  normal             |  Resolution:
 Keywords:  has-patch          |     Focuses:  administration
-------------------------------+------------------------------
Changes (by jipmoors):

 * keywords:   => has-patch


Comment:

 This is a problem spawned by [ticket:20175], since the discussion
 concluded that the option should not be present when the capability is not
 set a simple check should solve this.

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


More information about the wp-trac mailing list