From abe3ec288ba9cc4e3f8131e57e4721eff50dfad8 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 4 Jul 2019 09:23:55 +0000 Subject: [PATCH] Twenty Nineteen: Fix markup errors in `twentynineteen_add_ellipses_to_nav()`: * Add missing i18n for `aria-label` attribute. * Remove redundant screen reader text superseded by `aria-label`. * Remove unnecessary `id` and `class` attributes. Props afercia, chetan200891, ianbelanger. Fixes #47067. Built from https://develop.svn.wordpress.org/trunk@45596 git-svn-id: http://core.svn.wordpress.org/trunk@45407 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentynineteen/inc/template-functions.php | 6 +++--- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-content/themes/twentynineteen/inc/template-functions.php b/wp-content/themes/twentynineteen/inc/template-functions.php index 90df660012..a5c004615e 100644 --- a/wp-content/themes/twentynineteen/inc/template-functions.php +++ b/wp-content/themes/twentynineteen/inc/template-functions.php @@ -206,12 +206,12 @@ function twentynineteen_add_ellipses_to_nav( $nav_menu, $args ) {