[wp-trac] [WordPress Trac] #39725: Post Type Capabilities Broken

WordPress Trac noreply at wordpress.org
Tue Apr 18 17:25:56 UTC 2017


#39725: Post Type Capabilities Broken
-------------------------------+---------------------------------
 Reporter:  michael.ecklund    |       Owner:
     Type:  defect (bug)       |      Status:  reopened
 Priority:  normal             |   Milestone:
Component:  Posts, Post Types  |     Version:  4.7.2
 Severity:  normal             |  Resolution:
 Keywords:                     |     Focuses:  ui, administration
-------------------------------+---------------------------------

Comment (by lukecavanagh):

 What happens if you use these for the custom capabilities of the
 registered post type.

 https://codex.wordpress.org/Function_Reference/get_post_type_capabilities#Parameters


 {{{
 $capabilities = array(
                 'edit_post'             => 'edit_post',
                 'edit_posts'            => 'edit_posts',
                 'edit_others_posts'     => 'edit_others_posts',
                 'edit_private_posts'    => 'edit_private_posts'
         );
 }}}

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


More information about the wp-trac mailing list