Changeset 42678 for trunk/src/wp-includes/post.php
- Timestamp:
- 02/09/2018 04:54:58 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r42664 r42678 1005 1005 * 1006 1006 * @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`. 1008 1008 * 1009 1009 * @global array $wp_post_types List of post types. … … 1068 1068 * @since 4.4.0 The `show_ui` argument is now enforced on the post type listing 1069 1069 * 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` 1072 1072 * arguments to register the post type in REST API. 1073 1073 * … … 1215 1215 * 1216 1216 * @since 3.3.0 1217 * @since 4.6.0 Converted the `$post_type` parameter to accept a WP_Post_Typeobject.1217 * @since 4.6.0 Converted the `$post_type` parameter to accept a `WP_Post_Type` object. 1218 1218 * 1219 1219 * @param string $post_type Post type. … … 1444 1444 * @since 4.4.0 Added the `archives`, `insert_into_item`, `uploaded_to_this_item`, `filter_items_list`, 1445 1445 * `items_list_navigation`, and `items_list` labels. 1446 * @since 4.6.0 Converted the `$post_type` parameter to accept a WP_Post_Typeobject.1446 * @since 4.6.0 Converted the `$post_type` parameter to accept a `WP_Post_Type` object. 1447 1447 * @since 4.7.0 Added the `view_items` and `attributes` labels. 1448 1448 * … … 1713 1713 * @since 4.4.0 1714 1714 * @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_Typeobject.1715 * @since 4.6.0 Converted the `$post_type` parameter to accept a `WP_Post_Type` object. 1716 1716 * 1717 1717 * @param string|WP_Post_Type $post_type Post type name or object. … … 4249 4249 * 4250 4250 * @since 1.5.0 4251 * @since 4.7.0 $post_idcan be a WP_Post object.4252 * @since 4.7.0 $urican 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. 4253 4253 * 4254 4254 * @global wpdb $wpdb WordPress database abstraction object. … … 4331 4331 * @since 1.5.0 4332 4332 * 4333 * @since 4.7.0 $post_idcan be a WP_Post object.4333 * @since 4.7.0 `$post_id` can be a WP_Post object. 4334 4334 * 4335 4335 * @param int|WP_Post $post_id Post ID or object. … … 4359 4359 * 4360 4360 * @since 1.5.0 4361 * @since 4.7.0 $post_idcan be a WP_Post object.4361 * @since 4.7.0 `$post_id` can be a WP_Post object. 4362 4362 * 4363 4363 * @param int|WP_Post $post_id Post Object or ID
Note: See TracChangeset
for help on using the changeset viewer.