Make WordPress Core

Changeset 12898


Ignore:
Timestamp:
01/29/2010 06:26:33 PM (15 years ago)
Author:
ryan
Message:

Update phpdoc to note that the default for public is false. see #9674

File:
1 edited

Legend:

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

    r12881 r12898  
    686686 *
    687687 * label - A descriptive name for the post type marked for translation. Defaults to $post_type.
    688  * public - Whether posts of this type should be shown in the admin UI. Defaults to true.
     688 * public - Whether posts of this type should be shown in the admin UI. Defaults to false.
    689689 * exclude_from_search - Whether to exclude posts with this post type from search results. Defaults to true.
    690690 * inherit_type - The post type from which to inherit the edit link and capability type. Defaults to none.
Note: See TracChangeset for help on using the changeset viewer.