WordPress.org

Make WordPress Core

Changeset 47066


Ignore:
Timestamp:
01/13/2020 12:48:27 AM (7 months ago)
Author:
SergeyBiryukov
Message:

Docs: Correct description for show_in_admin_all_list and show_in_admin_status_list arguments of register_post_status().

Props audrasjb.
Fixes #49180.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post.php

    r46985 r47066  
    10061006 *                                                  for translation. Defaults to value of $post_status.
    10071007 *     @type bool|array  $label_count               Descriptive text to use for nooped plurals.
    1008  *                                                  Default array of $label, twice
     1008 *                                                  Default array of $label, twice.
    10091009 *     @type bool        $exclude_from_search       Whether to exclude posts with this post status
    10101010 *                                                  from search results. Default is value of $internal.
     
    10221022 *                                                  queryable. Default is value of $public.
    10231023 *     @type bool        $show_in_admin_all_list    Whether to include posts in the edit listing for
    1024  *                                                  their post type. Default is value of $internal.
     1024 *                                                  their post type. Default is the opposite value
     1025 *                                                  of $internal.
    10251026 *     @type bool        $show_in_admin_status_list Show in the list of statuses with post counts at
    10261027 *                                                  the top of the edit listings,
    10271028 *                                                  e.g. All (12) | Published (9) | My Custom Status (2)
    1028  *                                                  Default is value of $internal.
     1029 *                                                  Default is the opposite value of $internal.
    10291030 *     @type bool        $date_floating             Whether the post has a floating creation date.
    10301031 *                                                  Default to false.
Note: See TracChangeset for help on using the changeset viewer.