Add @since docs for the show_ui argument in register_post_type().

See #33763

Built from https://develop.svn.wordpress.org/trunk@34353


git-svn-id: http://core.svn.wordpress.org/trunk@34317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn 2015-09-20 09:05:24 +00:00
parent ca3e65e20e
commit 707f0d9108
2 changed files with 4 additions and 2 deletions

View File

@ -876,6 +876,8 @@ function get_post_types( $args = array(), $output = 'names', $operator = 'and' )
* parameter), along with a string for the post type name.
*
* @since 2.9.0
* @since 3.0.0 The `show_ui` argument is now enforced on the new post screen.
* @since 4.4.0 The `show_ui` argument is now enforced on the post type listing screen and post editing screen.
*
* @global array $wp_post_types List of post types.
* @global WP_Rewrite $wp_rewrite Used for default feeds.
@ -907,7 +909,7 @@ function get_post_types( $args = array(), $output = 'names', $operator = 'and' )
* * ?{post_type_key}={single_post_slug}
* * ?{post_type_query_var}={single_post_slug}
* If not set, the default is inherited from $public.
* @type bool $show_ui Whether to generate a default UI for managing this post type in the
* @type bool $show_ui Whether to generate and allow a UI for managing this post type in the
* admin. Default is value of $public.
* @type bool $show_in_menu Where to show the post type in the admin menu. To work, $show_ui
* must be true. If true, the post type is shown in its own top level

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.4-alpha-34352';
$wp_version = '4.4-alpha-34353';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.