[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 May 10 21:11:51 UTC 2016


#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:  SergeyBiryukov
     Type:  defect (bug)            |      Status:  reviewing
 Priority:  normal                  |   Milestone:  Future Release
Component:  Posts, Post Types       |     Version:  4.1
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:  administration
------------------------------------+-----------------------------

Comment (by johnjamesjacoby):

 I also think we need to demystify the three capability arguments by
 asking:

 * What they do now?
 * What is their intended purpose?
 * What do we want them to do?

 Experimenting with various combinations of arguments results in unexpected
 results, that do not directly mirror their respective documentation.

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


More information about the wp-trac mailing list