Docs: Add a `@since` note for including `delete_posts` in default capabilities in `get_post_type_capabilities()`.

Follow-up to [47357].

See #30991.
Built from https://develop.svn.wordpress.org/trunk@47358


git-svn-id: http://core.svn.wordpress.org/trunk@47145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-02-25 12:55:08 +00:00
parent aaccfc063f
commit c60ea3261f
2 changed files with 2 additions and 1 deletions

View File

@ -1545,6 +1545,7 @@ function unregister_post_type( $post_type ) {
* argument set to true (default is false). * argument set to true (default is false).
* *
* @since 3.0.0 * @since 3.0.0
* @since 5.4.0 'delete_posts' is included in default capabilities.
* *
* @see register_post_type() * @see register_post_type()
* @see map_meta_cap() * @see map_meta_cap()

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.4-beta2-47357'; $wp_version = '5.4-beta2-47358';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.