diff --git a/src/wp-includes/js/wp-sanitize.js b/src/wp-includes/js/wp-sanitize.js index 8063c6b3f6..312dab2719 100644 --- a/src/wp-includes/js/wp-sanitize.js +++ b/src/wp-includes/js/wp-sanitize.js @@ -32,7 +32,7 @@ * * @return Sanitized text. False on failure. */ - sanitizeText: function( text ) { + stripTagsAndEncodeText: function( text ) { var _text = wp.sanitize.stripTags( text ), textarea = document.createElement( 'textarea' );