Skip to content

Commit 9092fd0

Browse files
committed
Taxonomy: Correct the formatting of HTML entities when generating the screen reader text for tag removal.
Props adamsilverstein Built from https://develop.svn.wordpress.org/trunk@40181 git-svn-id: http://core.svn.wordpress.org/trunk@40120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
1 parent 4d80f8b commit 9092fd0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: wp-admin/js/tags-box.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ var tagBox, array_unique_noempty;
9292
*/
9393
xbutton = $( '<button type="button" id="' + id + '-check-num-' + key + '" class="ntdelbutton">' +
9494
'<span class="remove-tag-icon" aria-hidden="true"></span>' +
95-
'<span class="screen-reader-text">' + window.tagsSuggestL10n.removeTerm + ' ' + val + '</span>' +
95+
'<span class="screen-reader-text">' + window.tagsSuggestL10n.removeTerm + ' ' + span.html() + '</span>' +
9696
'</button>' );
9797

9898
xbutton.on( 'click keypress', function( e ) {

Diff for: wp-admin/js/tags-box.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: wp-includes/version.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @global string $wp_version
66
*/
7-
$wp_version = '4.8-alpha-40169';
7+
$wp_version = '4.8-alpha-40181';
88

99
/**
1010
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

0 commit comments

Comments
 (0)