X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/449d082fcc4873c1f7d363a0d9f7409be7f6e77d..4f9d63e13cd8c6e275797c75b401b074b82937bc:/wp-admin/js/utils.js diff --git a/wp-admin/js/utils.js b/wp-admin/js/utils.js new file mode 100644 index 00000000..13a06d3a --- /dev/null +++ b/wp-admin/js/utils.js @@ -0,0 +1 @@ +function convertEntities(b){var d,a;d=function(c){if(/&[^;]+;/.test(c)){var f=document.createElement("div");f.innerHTML=c;return !f.firstChild?c:f.firstChild.nodeValue}return c};if(typeof b==="string"){return d(b)}else{if(typeof b==="object"){for(a in b){if(typeof b[a]==="string"){b[a]=d(b[a])}}}}return b}var wpCookies={each:function(d,a,c){var e,b;if(!d){return 0}c=c||d;if(typeof(d.length)!="undefined"){for(e=0,b=d.length;e