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:
parent
aaccfc063f
commit
c60ea3261f
|
@ -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()
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue