Make WordPress Core

Ticket #4394: 4394.diff

File 4394.diff, 1.0 KB (added by rob1n, 17 years ago)
  • wp-admin/admin-header.php

     
    2323<?php endif; ?>
    2424<script type="text/javascript">
    2525//<![CDATA[
    26 function addLoadEvent(func) {if ( typeof wpOnload!='function'){wpOnload=func;}else{ var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}}
     26        function addLoadEvent(func) { jQuery(func); }
    2727//]]>
    2828</script>
    2929<?php if ( ($parent_file != 'link-manager.php') && ($parent_file != 'options-general.php') ) : ?>
  • wp-admin/admin-footer.php

     
    55<?php printf( __('Version %s'), get_bloginfo('version') ); ?></p>
    66</div>
    77<?php do_action('admin_footer', ''); ?>
    8 <script type="text/javascript">if(typeof wpOnload=='function')wpOnload();</script>
    98</body>
    109</html>
    11  No newline at end of file