WordPress.org

Make WordPress Core

Changeset 40181


Ignore:
Timestamp:
03/06/17 13:13:57 (3 months ago)
Author:
johnbillion
Message:

Taxonomy: Correct the formatting of HTML entities when generating the screen reader text for tag removal.

Props adamsilverstein

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/tags-box.js

    r38880 r40181  
    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 
Note: See TracChangeset for help on using the changeset viewer.