Make WordPress Core


Ignore:
Timestamp:
06/20/2020 11:20:25 AM (5 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/twentyseventeen/inc/icon-functions.php

    r48101 r48103  
    118118 * Display SVG icons in social links menu.
    119119 *
    120  * @param  string  $item_output The menu item output.
    121  * @param  WP_Post $item        Menu item object.
    122  * @param  int     $depth       Depth of the menu.
    123  * @param  object  $args        wp_nav_menu() arguments.
     120 * @param string   $item_output The menu item's starting HTML output.
     121 * @param WP_Post  $item        Menu item data object.
     122 * @param int      $depth       Depth of the menu. Used for padding.
     123 * @param stdClass $args        An object of wp_nav_menu() arguments.
    124124 * @return string The menu item output with social icon.
    125125 */
     
    144144 * Add dropdown icon if menu item has children.
    145145 *
    146  * @param  string  $title The menu item's title.
    147  * @param  WP_Post $item  The current menu item.
    148  * @param  object  $args  An array of wp_nav_menu() arguments.
    149  * @param  int     $depth Depth of menu item. Used for padding.
     146 * @param string   $title The menu item's title.
     147 * @param WP_Post $item  The current menu item.
     148 * @param stdClass $args  An object of wp_nav_menu() arguments.
     149 * @param int      $depth Depth of menu item. Used for padding.
    150150 * @return string The menu item's title with dropdown icon.
    151151 */
Note: See TracChangeset for help on using the changeset viewer.