WordPress.org

Make WordPress Core

Changeset 40182


Ignore:
Timestamp:
03/06/17 13:15:20 (5 months ago)
Author:
johnbillion
Message:

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.

Location:
branches/4.7
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.7

  • branches/4.7/src/wp-admin/js/tags-box.js

    r38880 r40182  
    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.