Make WordPress Core


Ignore:
Timestamp:
06/20/2020 11:20:25 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Synchronize and correct the documentation for wp_nav_menu() arguments in bundled themes.

See #49572.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfifteen/functions.php

    r47808 r48103  
    492492 * @since Twenty Fifteen 1.0
    493493 *
    494  * @param string  $item_output The menu item output.
    495  * @param WP_Post $item        Menu item object.
    496  * @param int     $depth       Depth of the menu.
    497  * @param array   $args        wp_nav_menu() arguments.
     494 * @param string   $item_output The menu item's starting HTML output.
     495 * @param WP_Post  $item        Menu item data object.
     496 * @param int      $depth       Depth of the menu. Used for padding.
     497 * @param stdClass $args        An object of wp_nav_menu() arguments.
    498498 * @return string Menu item with possible description.
    499499 */
Note: See TracChangeset for help on using the changeset viewer.