Revert [10489], it brings non-critical 404 errors

git-svn-id: http://svn.automattic.com/wordpress/trunk@10494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2009-02-04 15:05:57 +00:00
parent 23604d3499
commit 4a6cfee741
1 changed files with 8 additions and 3 deletions

View File

@ -57,11 +57,16 @@ do_action("admin_print_scripts-$hook_suffix");
do_action('admin_print_scripts');
do_action("admin_head-$hook_suffix");
do_action('admin_head');
wp_print_styles('no-js');
?>
<noscript>
<?php wp_print_styles('no-js'); ?>
</noscript>
<script type="text/javascript">
document.getElementById('no-js').href = 'javascript("void");';
(function(){
var nojs = document.getElementById('no-js');
if ( nojs ) nojs.parentNode.removeChild(nojs);
})();
</script>
<?php if ( $is_iphone ) { ?>