Twenty Seventeen: Document the type of `$item` argument in `twentyseventeen_dropdown_icon_to_menu_link()` more accurately.

Props ndoublehwp.
Fixes #41923.
Built from https://develop.svn.wordpress.org/trunk@41548


git-svn-id: http://core.svn.wordpress.org/trunk@41381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2017-09-20 18:15:46 +00:00
parent 067970ca82
commit 6918752529
2 changed files with 6 additions and 6 deletions

View File

@ -144,7 +144,7 @@ add_filter( 'walker_nav_menu_start_el', 'twentyseventeen_nav_menu_social_icons',
* Add dropdown icon if menu item has children. * Add dropdown icon if menu item has children.
* *
* @param string $title The menu item's title. * @param string $title The menu item's title.
* @param object $item The current menu item. * @param WP_Post $item The current menu item.
* @param array $args An array of wp_nav_menu() arguments. * @param array $args An array of wp_nav_menu() arguments.
* @param int $depth Depth of menu item. Used for padding. * @param int $depth Depth of menu item. Used for padding.
* @return string $title The menu item's title with dropdown icon. * @return string $title The menu item's title with dropdown icon.

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.9-alpha-41547'; $wp_version = '4.9-alpha-41548';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.