CoreFiles by mySites.guru
wp-sanitize.min.js1 lines, 438 bytes, from wordpress-5.2.7.zip
Raw History Compare with 5.2.6
md5
3e03f2d302e5c48328d7bbf14a518f5e
sha1
e47b35aa910053ae3e9fcd689409f3b00347886a
sha256
a1df0174fafbab64345ef4bcb9a6e705d40ab5c233b92f106cf4f117dd913d9b
!function(){window.wp=window.wp||{},wp.sanitize={stripTags:function(a){a=a||"";var b=a.replace(/<!--[\s\S]*?(-->|$)/g,"").replace(/<(script|style)[^>]*>[\s\S]*?(<\/\1>|$)/gi,"").replace(/<\/?[a-z][\s\S]*?(>|$)/gi,"");return b!==a?wp.sanitize.stripTags(b):b},stripTagsAndEncodeText:function(a){var b=wp.sanitize.stripTags(a),c=document.createElement("textarea");try{c.textContent=b,b=wp.sanitize.stripTags(c.value)}catch(d){}return b}}}();

The same content is in 9 releases, WordPress 5.2.3 to 5.3-beta2. See them all, or every version of this file.