From 69187525297eae1f2ce4913ee942e2020726ca19 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 20 Sep 2017 18:15:46 +0000 Subject: [PATCH] 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 --- .../themes/twentyseventeen/inc/icon-functions.php | 10 +++++----- wp-includes/version.php | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/wp-content/themes/twentyseventeen/inc/icon-functions.php b/wp-content/themes/twentyseventeen/inc/icon-functions.php index b73f2a47a9..28b7d94aad 100644 --- a/wp-content/themes/twentyseventeen/inc/icon-functions.php +++ b/wp-content/themes/twentyseventeen/inc/icon-functions.php @@ -143,11 +143,11 @@ add_filter( 'walker_nav_menu_start_el', 'twentyseventeen_nav_menu_social_icons', /** * Add dropdown icon if menu item has children. * - * @param string $title The menu item's title. - * @param object $item The current menu item. - * @param array $args An array of wp_nav_menu() arguments. - * @param int $depth Depth of menu item. Used for padding. - * @return string $title The menu item's title with dropdown icon. + * @param string $title The menu item's title. + * @param WP_Post $item The current menu item. + * @param array $args An array of wp_nav_menu() arguments. + * @param int $depth Depth of menu item. Used for padding. + * @return string $title The menu item's title with dropdown icon. */ function twentyseventeen_dropdown_icon_to_menu_link( $title, $item, $args, $depth ) { if ( 'top' === $args->theme_location ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index fba9dc0696..c48f65beb7 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @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.