From 887e0a8004b2505f04f36b9870862378100ec948 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 25 Feb 2020 12:53:35 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@47358 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/post.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-includes/post.php b/src/wp-includes/post.php index d5b9f28ee8..78b5a7b4fb 100644 --- a/src/wp-includes/post.php +++ b/src/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()