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">' +
|
xbutton = $( '<button type="button" id="' + id + '-check-num-' + key + '" class="ntdelbutton">' +
|
||||||
'<span class="remove-tag-icon" aria-hidden="true"></span>' +
|
'<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>' );
|
'</button>' );
|
||||||
|
|
||||||
xbutton.on( 'click keypress', function( e ) {
|
xbutton.on( 'click keypress', function( e ) {
|
||||||
|
|
Loading…
Reference in New Issue