Changeset 9809 for trunk/wp-admin/admin-header.php
- Timestamp:
- 11/20/2008 10:54:59 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/admin-header.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-header.php
r9702 r9809 29 29 //<![CDATA[ 30 30 addLoadEvent = function(func) {if (typeof jQuery != "undefined") jQuery(document).ready(func); else if (typeof wpOnload!='function'){wpOnload=func;} else {var oldonload=wpOnload; wpOnload=function(){oldonload();func();}}}; 31 32 function convertEntities(o) { 33 var p = document.createElement('p'); 34 var c = function(s) { p.innerHTML = s; return p.innerHTML; } 35 36 if ( typeof o === 'object' ) 37 for (var v in o) 38 o[v] = c(o[v]); 39 40 else if ( typeof o === 'string' ) 41 return c(o); 42 43 p = null; 44 }; 31 45 //]]> 32 46 </script>
Note: See TracChangeset
for help on using the changeset viewer.