WordPress.org

Make WordPress Core

Ticket #49180: 49180.diff

File 49180.diff, 1.4 KB (added by audrasjb, 11 months ago)

Docs: Correct @param description for register_post_status()

  • src/wp-includes/post.php

    diff --git a/src/wp-includes/post.php b/src/wp-includes/post.php
    index 2be10a1db6..3019b7a2ae 100644
    a b function _wp_privacy_statuses() { 
    10211021 *     @type bool        $publicly_queryable        Whether posts with this status should be publicly-
    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 of the
     1025 *                                                  value 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 of the value of $internal.
    10291030 *     @type bool        $date_floating             Whether the post has a floating creation date.
    10301031 *                                                  Default to false.
    10311032 * }