From c60ea3261f11382fd9523bf464a5df9dd96e5adc Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 25 Feb 2020 12:55:08 +0000 Subject: [PATCH] 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 --- wp-includes/post.php | 1 + wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-includes/post.php b/wp-includes/post.php index d5b9f28ee8..78b5a7b4fb 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -1545,6 +1545,7 @@ function unregister_post_type( $post_type ) { * argument set to true (default is false). * * @since 3.0.0 + * @since 5.4.0 'delete_posts' is included in default capabilities. * * @see register_post_type() * @see map_meta_cap() diff --git a/wp-includes/version.php b/wp-includes/version.php index 9e4af79845..9450347d8e 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @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.