From 9fa4cce9c2f1bb47102240c8e65a7b37523cca94 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 13 Jan 2020 00:50:02 +0000 Subject: [PATCH] Docs: Correct description for `show_in_admin_all_list` and `show_in_admin_status_list` arguments of `register_post_status()`. Props audrasjb. Fixes #49180. Built from https://develop.svn.wordpress.org/trunk@47066 git-svn-id: http://core.svn.wordpress.org/trunk@46866 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post.php | 7 ++++--- wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/wp-includes/post.php b/wp-includes/post.php index 2be10a1db6..3799e73e0a 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -1005,7 +1005,7 @@ function _wp_privacy_statuses() { * @type bool|string $label A descriptive name for the post status marked * for translation. Defaults to value of $post_status. * @type bool|array $label_count Descriptive text to use for nooped plurals. - * Default array of $label, twice + * Default array of $label, twice. * @type bool $exclude_from_search Whether to exclude posts with this post status * from search results. Default is value of $internal. * @type bool $_builtin Whether the status is built-in. Core-use only. @@ -1021,11 +1021,12 @@ function _wp_privacy_statuses() { * @type bool $publicly_queryable Whether posts with this status should be publicly- * queryable. Default is value of $public. * @type bool $show_in_admin_all_list Whether to include posts in the edit listing for - * their post type. Default is value of $internal. + * their post type. Default is the opposite value + * of $internal. * @type bool $show_in_admin_status_list Show in the list of statuses with post counts at * the top of the edit listings, * e.g. All (12) | Published (9) | My Custom Status (2) - * Default is value of $internal. + * Default is the opposite value of $internal. * @type bool $date_floating Whether the post has a floating creation date. * Default to false. * } diff --git a/wp-includes/version.php b/wp-includes/version.php index d961b957c8..09b862973c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.4-alpha-47065'; +$wp_version = '5.4-alpha-47066'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.