[wp-trac] [WordPress Trac] #31500: New post type undefined delete post value

WordPress Trac noreply at wordpress.org
Mon Mar 16 12:31:12 UTC 2015


#31500: New post type undefined delete post value
-------------------------------------------+-------------------------------
 Reporter:  ozzWANTED                      |       Owner:
     Type:  defect (bug)                   |      Status:  closed
 Priority:  normal                         |   Milestone:  4.2
Component:  Posts, Post Types              |     Version:  4.1
 Severity:  normal                         |  Resolution:  worksforme
 Keywords:  reporter-feedback needs-patch  |     Focuses:  ui,
                                           |  administration
-------------------------------------------+-------------------------------
Changes (by valendesigns):

 * status:  reopened => closed
 * resolution:   => worksforme


Comment:

 @ozzWANTED This is still working correctly in Core, what is not working
 correctly is your combination of arguments. Unless you are planning on
 creating your own custom meta capabilities setting `map_meta_cap` to
 `false` is essentially removing all the `post` capabilities. Therefore,
 you either need to set `map_meta_cap` to `true` or roll out your own
 capabilities.

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


More information about the wp-trac mailing list