WordPress.org

Make WordPress Core

Ticket #16384: 16384.diff

File 16384.diff, 718 bytes (added by scribu, 3 years ago)
  • wp-includes/post.php

     
    10531053 *   can be deleted. If the post type does not support an author, then this will 
    10541054 *   behave like delete_posts. 
    10551055 * - edit_private_posts - Controls whether private objects can be edited. 
    1056  * - edit_published_posts - Controls whether published objects can be deleted. 
     1056 * - edit_published_posts - Controls whether published objects can be edited. 
    10571057 * 
    10581058 * These additional capabilities are only used in map_meta_cap(). Thus, they are 
    10591059 * only assigned by default if the post type is registered with the 'map_meta_cap'