From 48ed5b31598b82acc8f035e6e27dce9e43f479ef Mon Sep 17 00:00:00 2001 From: audrasjb Date: Sun, 26 Jan 2025 22:22:24 +0000 Subject: [PATCH] General: Get rid of `title` attributes used by `get_calendar()`. This changeset replaces `title` attributes with `aria-label` for weekdays in `get_calendar()` table cells. Props sabernhardt, audrasjb, mukesh27, shailu25. Fixes #62860. See #24766. Built from https://develop.svn.wordpress.org/trunk@59711 git-svn-id: http://core.svn.wordpress.org/trunk@59053 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/general-template.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index f97071b783..f0fa490ca9 100644 --- a/wp-includes/general-template.php +++ b/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 .= ' diff --git a/wp-includes/version.php b/wp-includes/version.php index da92cb53ef..3cba8ed6af 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.8-alpha-59710'; +$wp_version = '6.8-alpha-59711'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.