Changeset 38051
- Timestamp:
- 07/13/2016 03:23:04 PM (8 years ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/nav-menu.php
r38029 r38051 520 520 * 521 521 * @since 3.2.0 522 * @since 4.6.0 Converted the `$post_type` parameter to accept a WP_Post_Type object. 522 523 * 523 524 * @see WP_Query::query() … … 528 529 */ 529 530 $posts = apply_filters( "nav_menu_items_{$post_type_name}", $posts, $args, $post_type ); 531 530 532 $checkbox_items = walk_nav_menu_tree( array_map('wp_setup_nav_menu_item', $posts), 0, (object) $args ); 531 533 -
trunk/src/wp-includes/class-wp-post-type.php
r38030 r38051 12 12 * 13 13 * @since 4.6.0 14 * 15 * @see register_post_type() 14 16 */ 15 17 final class WP_Post_Type { -
trunk/src/wp-includes/class-wp-xmlrpc-server.php
r38037 r38051 882 882 * Prepares post data for return in an XML-RPC object. 883 883 * 884 * @since 3.4.0 885 * @since 4.6.0 Converted the `$post_type` parameter to accept a WP_Post_Type object. 884 886 * @access protected 885 887 * … … 922 924 * 923 925 * @since 3.4.0 926 * @since 4.6.0 Converted the `$post_type` parameter to accept a WP_Post_Type object. 924 927 * 925 928 * @param array $_post_type An array of post type data. -
trunk/src/wp-includes/post.php
r37985 r38051 838 838 * 839 839 * @since 3.0.0 840 * @since 4.6.0 Converted to use WP_Post_Type. 840 841 * 841 842 * @global array $wp_post_types List of post types. … … 900 901 * @since 4.4.0 The `show_ui` argument is now enforced on the post type listing 901 902 * 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. 903 904 * 904 905 * @global array $wp_post_types List of post types. … … 1042 1043 * 1043 1044 * @since 3.3.0 1045 * @since 4.6.0 Converted the `$post_type` parameter to accept a WP_Post_Type object. 1044 1046 * 1045 1047 * @param string $post_type Post type. … … 1057 1059 * 1058 1060 * @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. 1060 1062 * 1061 1063 * @global array $wp_post_types List of post types. … … 1266 1268 * @since 4.4.0 Added the `insert_into_item`, `uploaded_to_this_item`, `filter_items_list`, 1267 1269 * `items_list_navigation`, and `items_list` labels. 1270 * @since 4.6.0 Converted the `$post_type` parameter to accept a WP_Post_Type object. 1268 1271 * 1269 1272 * @access private … … 1523 1526 * @since 4.4.0 1524 1527 * @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. 1525 1529 * 1526 1530 * @param string|WP_Post_Type $post_type Post type name or object.
Note: See TracChangeset
for help on using the changeset viewer.