From 93c8cdbaed645a7f5cbad35a3ace1ba0d712a1ca Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Sat, 30 Apr 2016 14:33:29 +0000 Subject: [PATCH] Accessibility: improve the Star Ratings hiding empty elements for assistive technologies. Fixes #36725. Built from https://develop.svn.wordpress.org/trunk@37330 git-svn-id: http://core.svn.wordpress.org/trunk@37296 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/template.php | 6 +++--- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 6503e74d7e..410c980cd2 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -2071,9 +2071,9 @@ function wp_star_rating( $args = array() ) { $output = '
'; $output .= '' . $title . ''; - $output .= str_repeat( '
', $full_stars ); - $output .= str_repeat( '
', $half_stars ); - $output .= str_repeat( '
', $empty_stars ); + $output .= str_repeat( '', $full_stars ); + $output .= str_repeat( '', $half_stars ); + $output .= str_repeat( '', $empty_stars ); $output .= '
'; if ( $r['echo'] ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 3ae83df625..b6b00964cb 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.6-alpha-37329'; +$wp_version = '4.6-alpha-37330'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.