From 14376be6e195ce9cc7f4bf237651504777b504fb Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 13 Jan 2020 00:48:27 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@47066 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/post.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/post.php b/src/wp-includes/post.php index 2be10a1db6..3799e73e0a 100644 --- a/src/wp-includes/post.php +++ b/src/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. * }