WordPress.org

Make WordPress Core

Changeset 17158


Ignore:
Timestamp:
12/26/10 22:45:34 (3 years ago)
Author:
nacin
Message:

Correct the docs for register_post_status. fixes #15947, props simonwheatley.

File:
1 edited

Legend:

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

    r17092 r17158  
    618618 * 
    619619 * label - A descriptive name for the post status marked for translation. Defaults to $post_status. 
    620  * public - Whether posts of this status should be shown in the admin UI. Defaults to true. 
     620 * public - Whether posts of this status should be shown in the front end of the site. Defaults to true. 
    621621 * exclude_from_search - Whether to exclude posts with this post status from search results. Defaults to true. 
     622 * show_in_admin_all_list - Whether to include posts in the edit listing for their post type 
     623 * show_in_admin_status_list - Show in the list of statuses with post counts at the top of the edit  
     624 *                             listings, e.g. All (12) | Published (9) | My Custom Status (2) ... 
     625 *  
     626 * Arguments prefixed with an _underscore shouldn't be used by plugins and themes. 
    622627 * 
    623628 * @package WordPress 
Note: See TracChangeset for help on using the changeset viewer.