Make WordPress Core

Changeset 56777

Timestamp:
10/04/2023 06:49:57 PM (10 months ago)
Author:
audrasjb
Message:

Post Types: allow trashing draft patterns.

Adds delete_posts to capabilities for the wp_block post type.

Props ramonopoly, johnbillion, dhruvishah2203, audrasjb, isabel_brison, joemcgill.
Merges [56577] to the 6.3 branch.
Fixes #59041.

Location:
branches/6.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/6.3

  • branches/6.3/src/wp-includes/post.php

    r56517 r56777  
    321321                'edit_published_posts'   => 'edit_published_posts',
    322322                'delete_published_posts' => 'delete_published_posts',
     323
     324
    323325                'edit_others_posts'      => 'edit_others_posts',
    324326                'delete_others_posts'    => 'delete_others_posts',
Note: See TracChangeset for help on using the changeset viewer.