WordPress.org

Make WordPress Core

Changeset 34353


Ignore:
Timestamp:
09/20/2015 09:04:21 AM (5 years ago)
Author:
johnbillion
Message:

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

See #33763

File:
1 edited

Legend:

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

    r34255 r34353  
    877877 *
    878878 * @since 2.9.0
     879 * @since 3.0.0 The `show_ui` argument is now enforced on the new post screen.
     880 * @since 4.4.0 The `show_ui` argument is now enforced on the post type listing screen and post editing screen.
    879881 *
    880882 * @global array      $wp_post_types List of post types.
     
    908910 *                                             * ?{post_type_query_var}={single_post_slug}
    909911 *                                             If not set, the default is inherited from $public.
    910  *     @type bool        $show_ui              Whether to generate a default UI for managing this post type in the
     912 *     @type bool        $show_ui              Whether to generate and allow a UI for managing this post type in the
    911913 *                                             admin. Default is value of $public.
    912914 *     @type bool        $show_in_menu         Where to show the post type in the admin menu. To work, $show_ui
Note: See TracChangeset for help on using the changeset viewer.