WordPress.org

Make WordPress Core

Changeset 10494


Ignore:
Timestamp:
02/04/2009 03:05:57 PM (9 years ago)
Author:
azaozz
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-header.php

    r10489 r10494  
    5858do_action("admin_head-$hook_suffix");
    5959do_action('admin_head');
     60?>
    6061
    61 wp_print_styles('no-js');
    62 ?>
     62<noscript>
     63<?php wp_print_styles('no-js'); ?>
     64</noscript>
    6365<script type="text/javascript">
    64 document.getElementById('no-js').href = 'javascript("void");';
     66(function(){
     67    var nojs = document.getElementById('no-js');
     68    if ( nojs ) nojs.parentNode.removeChild(nojs);
     69})();
    6570</script>
    6671
Note: See TracChangeset for help on using the changeset viewer.