mirror of
https://github.com/WordPress/WordPress.git
synced 2024-10-01 08:37:55 +02:00
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:
parent
ca3e65e20e
commit
707f0d9108
@ -876,6 +876,8 @@ function get_post_types( $args = array(), $output = 'names', $operator = 'and' )
|
|||||||
* parameter), along with a string for the post type name.
|
* parameter), along with a string for the post type name.
|
||||||
*
|
*
|
||||||
* @since 2.9.0
|
* @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 array $wp_post_types List of post types.
|
||||||
* @global WP_Rewrite $wp_rewrite Used for default feeds.
|
* @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_key}={single_post_slug}
|
||||||
* * ?{post_type_query_var}={single_post_slug}
|
* * ?{post_type_query_var}={single_post_slug}
|
||||||
* If not set, the default is inherited from $public.
|
* 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.
|
* 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
|
* @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
|
* must be true. If true, the post type is shown in its own top level
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user