Make WordPress Core

Ticket #40635: 40635.4.diff

File 40635.4.diff, 455 bytes (added by adamsilverstein, 7 years ago)
  • src/wp-includes/js/wp-sanitize.js

    diff --git src/wp-includes/js/wp-sanitize.js src/wp-includes/js/wp-sanitize.js
    index 8063c6b3f6..312dab2719 100644
     
    3232                 *
    3333                 * @return Sanitized text. False on failure.
    3434                 */
    35                 sanitizeText: function( text ) {
     35                stripTagsAndEncodeText: function( text ) {
    3636                        var _text = wp.sanitize.stripTags( text ),
    3737                                textarea = document.createElement( 'textarea' );
    3838