From ac59f31b22ae5fc259ad2a17fa180269e0cc0395 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Fri, 24 Jan 2025 23:00:32 +0100 Subject: [PATCH] Replace title with aria-label for weekdays in get_calendar table cells --- src/wp-includes/general-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/general-template.php b/src/wp-includes/general-template.php index f97071b7835a3..f0fa490ca90c2 100644 --- a/src/wp-includes/general-template.php +++ b/src/wp-includes/general-template.php @@ -2346,7 +2346,7 @@ function get_calendar( $initial = true, $display = true ) { foreach ( $myweek as $wd ) { $day_name = $initial ? $wp_locale->get_weekday_initial( $wd ) : $wp_locale->get_weekday_abbrev( $wd ); $wd = esc_attr( $wd ); - $calendar_output .= "\n\t\t$day_name"; + $calendar_output .= "\n\t\t$day_name"; } $calendar_output .= '