This commit is contained in:
Oliver Davies 2019-03-12 09:27:46 +00:00
commit ff6f6c80cd
1709 changed files with 840760 additions and 0 deletions

1
wp-includes/js/wp-sanitize.min.js vendored Normal file
View file

@ -0,0 +1 @@
!function(){window.wp=window.wp||{},wp.sanitize={stripTags:function(a){return a=a||"",a.replace(/<!--[\s\S]*?(-->|$)/g,"").replace(/<(script|style)[^>]*>[\s\S]*?(<\/\1>|$)/gi,"").replace(/<\/?[a-z][\s\S]*?(>|$)/gi,"")},stripTagsAndEncodeText:function(a){var b=wp.sanitize.stripTags(a),c=document.createElement("textarea");try{c.innerHTML=b,b=wp.sanitize.stripTags(c.value)}catch(d){}return b}}}();