[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
Tue Feb 25 12:53:48 UTC 2020


#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:  Mte90
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  5.4
Component:  Posts, Post Types                    |     Version:  4.1
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch needs-dev-note has-unit-   |     Focuses:
  tests dev-feedback                             |  administration
-------------------------------------------------+-------------------------

Comment (by SergeyBiryukov):

 In [changeset:"47358" 47358]:
 {{{
 #!CommitTicketReference repository="" revision="47358"
 Docs: Add a `@since` note for including `delete_posts` in default
 capabilities in `get_post_type_capabilities()`.

 Follow-up to [47357].

 See #30991.
 }}}

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


More information about the wp-trac mailing list