Changeset 41379
- Timestamp:
- 09/14/2017 07:28:57 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/wp-sanitize.js
r41061 r41379 34 34 */ 35 35 sanitizeText: function( text ) { 36 var _text = wp. utils.stripTags( text ),36 var _text = wp.sanitize.stripTags( text ), 37 37 textarea = document.createElement( 'textarea' ); 38 38 39 39 try { 40 40 textarea.innerHTML = _text; 41 _text = wp. utils.stripTags( textarea.value );41 _text = wp.sanitize.stripTags( textarea.value ); 42 42 } catch ( er ) {} 43 43
Note: See TracChangeset
for help on using the changeset viewer.