Make WordPress Core


Ignore:
Timestamp:
02/09/2018 04:54:58 PM (7 years ago)
Author:
johnbillion
Message:

Docs: Add missing code formatting to various @since entries.

See #42505

File:
1 edited

Legend:

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

    r42664 r42678  
    10051005 *
    10061006 * @since 3.0.0
    1007  * @since 4.6.0 Object returned is now an instance of WP_Post_Type.
     1007 * @since 4.6.0 Object returned is now an instance of `WP_Post_Type`.
    10081008 *
    10091009 * @global array $wp_post_types List of post types.
     
    10681068 * @since 4.4.0 The `show_ui` argument is now enforced on the post type listing
    10691069 *              screen and post editing screen.
    1070  * @since 4.6.0 Post type object returned is now an instance of WP_Post_Type.
    1071  * @since 4.7.0 Introduced `show_in_rest`, 'rest_base' and 'rest_controller_class'
     1070 * @since 4.6.0 Post type object returned is now an instance of `WP_Post_Type`.
     1071 * @since 4.7.0 Introduced `show_in_rest`, `rest_base` and `rest_controller_class`
    10721072 *              arguments to register the post type in REST API.
    10731073 *
     
    12151215     *
    12161216     * @since 3.3.0
    1217      * @since 4.6.0 Converted the `$post_type` parameter to accept a WP_Post_Type object.
     1217     * @since 4.6.0 Converted the `$post_type` parameter to accept a `WP_Post_Type` object.
    12181218     *
    12191219     * @param string       $post_type        Post type.
     
    14441444 * @since 4.4.0 Added the `archives`, `insert_into_item`, `uploaded_to_this_item`, `filter_items_list`,
    14451445 *              `items_list_navigation`, and `items_list` labels.
    1446  * @since 4.6.0 Converted the `$post_type` parameter to accept a WP_Post_Type object.
     1446 * @since 4.6.0 Converted the `$post_type` parameter to accept a `WP_Post_Type` object.
    14471447 * @since 4.7.0 Added the `view_items` and `attributes` labels.
    14481448 *
     
    17131713 * @since 4.4.0
    17141714 * @since 4.5.0 Added the ability to pass a post type name in addition to object.
    1715  * @since 4.6.0 Converted the `$post_type` parameter to accept a WP_Post_Type object.
     1715 * @since 4.6.0 Converted the `$post_type` parameter to accept a `WP_Post_Type` object.
    17161716 *
    17171717 * @param string|WP_Post_Type $post_type Post type name or object.
     
    42494249 *
    42504250 * @since 1.5.0
    4251  * @since 4.7.0 $post_id can be a WP_Post object.
    4252  * @since 4.7.0 $uri can be an array of URIs.
     4251 * @since 4.7.0 `$post_id` can be a WP_Post object.
     4252 * @since 4.7.0 `$uri` can be an array of URIs.
    42534253 *
    42544254 * @global wpdb $wpdb WordPress database abstraction object.
     
    43314331 * @since 1.5.0
    43324332 *
    4333  * @since 4.7.0 $post_id can be a WP_Post object.
     4333 * @since 4.7.0 `$post_id` can be a WP_Post object.
    43344334 *
    43354335 * @param int|WP_Post $post_id Post ID or object.
     
    43594359 *
    43604360 * @since 1.5.0
    4361  * @since 4.7.0 $post_id can be a WP_Post object.
     4361 * @since 4.7.0 `$post_id` can be a WP_Post object.
    43624362 *
    43634363 * @param int|WP_Post $post_id Post Object or ID
Note: See TracChangeset for help on using the changeset viewer.