diff --git a/src/wp-content/themes/twentynineteen/inc/icon-functions.php b/src/wp-content/themes/twentynineteen/inc/icon-functions.php index 2ac4cffd6bd21..67d97fb9ca0f7 100644 --- a/src/wp-content/themes/twentynineteen/inc/icon-functions.php +++ b/src/wp-content/themes/twentynineteen/inc/icon-functions.php @@ -80,7 +80,9 @@ function twentynineteen_add_dropdown_icons( $item_output, $item, $depth, $args ) // Inject the keyboard_arrow_left SVG inside the parent nav menu item, and let the item link to the parent item. // @todo Only do this for nested submenus? If on a first-level submenu, then really the link could be "#" since the desire is to remove the target entirely. $link = sprintf( - '', + '', + /* translators: %s: Parent menu item name. */ + esc_attr( sprintf( __( 'Expand child menu for %s', 'twentynineteen' ), $item->title ) ), $icon ); }