Make WordPress Core


Ignore:
Timestamp:
07/13/2016 03:23:04 PM (10 years ago)
Author:
DrewAPicture
Message:

Docs: Add and clarify changelog entries for elements that can now accept, use, or return WP_Post_Type objects.

Also adds a missing initial @since version for wp_xmlrpc_server::_prepare_post_type().

See [37890]. See #36217.

File:
1 edited

Legend:

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

    r37985 r38051  
    838838 *
    839839 * @since 3.0.0
     840 * @since 4.6.0 Converted to use WP_Post_Type.
    840841 *
    841842 * @global array $wp_post_types List of post types.
     
    900901 * @since 4.4.0 The `show_ui` argument is now enforced on the post type listing
    901902 *              screen and post editing screen.
    902  * @since 4.6.0 Converted to use `WP_Post_Type`.
     903 * @since 4.6.0 Converted to use WP_Post_Type.
    903904 *
    904905 * @global array $wp_post_types List of post types.
     
    10421043         *
    10431044         * @since 3.3.0
     1045         * @since 4.6.0 Converted the `$post_type` parameter to accept a WP_Post_Type object.
    10441046         *
    10451047         * @param string       $post_type        Post type.
     
    10571059 *
    10581060 * @since 4.5.0
    1059  * @since 4.6.0 Converted to use `WP_Post_Type`.
     1061 * @since 4.6.0 Converted to use WP_Post_Type.
    10601062 *
    10611063 * @global array $wp_post_types List of post types.
     
    12661268 * @since 4.4.0 Added the `insert_into_item`, `uploaded_to_this_item`, `filter_items_list`,
    12671269 *              `items_list_navigation`, and `items_list` labels.
     1270 * @since 4.6.0 Converted the `$post_type` parameter to accept a WP_Post_Type object.
    12681271 *
    12691272 * @access private
     
    15231526 * @since 4.4.0
    15241527 * @since 4.5.0 Added the ability to pass a post type name in addition to object.
     1528 * @since 4.6.0 Converted the `$post_type` parameter to accept a WP_Post_Type object.
    15251529 *
    15261530 * @param string|WP_Post_Type $post_type Post type name or object.
Note: See TracChangeset for help on using the changeset viewer.