Ticket #37211: 37211.2.diff
File 37211.2.diff, 1.3 KB (added by , 8 years ago) |
---|
-
src/wp-admin/includes/nav-menu.php
297 297 * @global int|string $nav_menu_selected_id 298 298 * 299 299 * @param string $object Not used. 300 * @param string $post_type The post type object. 300 * @param array $post_type { 301 An array of post type arguments 302 303 @type string $id A id of the post type object 304 @type string $title Title for the post type 305 @type string $callback Callback function name 306 @type array $args Nav menu meta box object 307 } 301 308 */ 302 309 function wp_nav_menu_item_post_type_meta_box( $object, $post_type ) { 303 310 global $_nav_menu_placeholder, $nav_menu_selected_id; … … 575 582 * @global int|string $nav_menu_selected_id 576 583 * 577 584 * @param string $object Not used. 578 * @param string $taxonomy The taxonomy object. 585 * @param array $taxonomy { 586 An array of taxonomy arguments 587 588 @type string $id A id of the taxonomy object 589 @type string $title Title for the taxonomy 590 @type string $callback Callback function name 591 @type array $args Nav menu meta box object 592 } 579 593 */ 580 594 function wp_nav_menu_item_taxonomy_meta_box( $object, $taxonomy ) { 581 595 global $nav_menu_selected_id;