mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 21:08:44 +01:00
Taxonomy: Correct the formatting of HTML entities when generating the screen reader text for tag removal.
Props adamsilverstein Merges [40181] to the 4.7 branch. git-svn-id: https://develop.svn.wordpress.org/branches/4.7@40182 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
151bf11e0e
commit
a0902e8a13
@ -92,7 +92,7 @@ var tagBox, array_unique_noempty;
|
||||
*/
|
||||
xbutton = $( '<button type="button" id="' + id + '-check-num-' + key + '" class="ntdelbutton">' +
|
||||
'<span class="remove-tag-icon" aria-hidden="true"></span>' +
|
||||
'<span class="screen-reader-text">' + window.tagsSuggestL10n.removeTerm + ' ' + val + '</span>' +
|
||||
'<span class="screen-reader-text">' + window.tagsSuggestL10n.removeTerm + ' ' + span.html() + '</span>' +
|
||||
'</button>' );
|
||||
|
||||
xbutton.on( 'click keypress', function( e ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user