Make WordPress Core

Ticket #37211: 37211.2.diff

File 37211.2.diff, 1.3 KB (added by mehulkaklotar, 8 years ago)

changed phpdoc as per handbook instructions

  • src/wp-admin/includes/nav-menu.php

     
    297297 * @global int|string $nav_menu_selected_id
    298298 *
    299299 * @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 }
    301308 */
    302309function wp_nav_menu_item_post_type_meta_box( $object, $post_type ) {
    303310        global $_nav_menu_placeholder, $nav_menu_selected_id;
     
    575582 * @global int|string $nav_menu_selected_id
    576583 *
    577584 * @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 }
    579593 */
    580594function wp_nav_menu_item_taxonomy_meta_box( $object, $taxonomy ) {
    581595        global $nav_menu_selected_id;