WordPress.org

Make WordPress Core

Ticket #6965: always-hide-gears-popup.patch

File always-hide-gears-popup.patch, 625 bytes (added by azaozz, 11 years ago)

Always hide the gears popup, even whit cached css.

  • wp-admin/admin-header.php

     
    7777if ( ($is_gecko || $is_winIE) && strpos(strtolower($_SERVER['HTTP_USER_AGENT']), 'webkit') === false ) {
    7878        $gears_compat = true;
    7979?>
    80         <div id="gears-info-box" class="info-box">
     80        <div id="gears-info-box" class="info-box" style="display:none;">
    8181        <img src="images/gear.png" title="Gear" alt="" class="gears-img" />
    8282        <div id="gears-msg1">
    8383        <h3 class="info-box-title"><?php _e('Speed up WordPress'); ?></h3>