WordPress.org

Make WordPress Core

Ticket #11460: 11460.diff

File 11460.diff, 1.1 KB (added by nacin, 5 years ago)
  • tools.php

     
    1919<?php screen_icon(); ?> 
    2020<h2><?php echo esc_html( $title ); ?></h2> 
    2121 
    22 <div class="tool-box"> 
    2322<?php 
    24 if ( ! $is_opera ) { 
     23if ( ! $is_opera ) : 
    2524?> 
     25<div class="tool-box"> 
    2626        <div id="gears-msg1"> 
    2727        <h3 class="title"><?php _e('Turbo:'); ?> <?php _e('Speed up WordPress'); ?></h3> 
    2828        <p><?php _e('WordPress now has support for Gears, which adds new features to your web browser.'); ?><br /> 
     
    7272        <p><strong><?php _e('Note: Do not enable Gears if this is a public or shared computer!'); ?></strong></p> 
    7373        </div> 
    7474        <script type="text/javascript">wpGears.message();</script> 
    75 <?php } else { 
    76         _e('Turbo is not available for your browser.'); 
    77 } ?> 
    7875</div> 
     76<?php 
     77endif; 
    7978 
    80 <?php if ( current_user_can('edit_posts') ) : ?> 
     79if ( current_user_can('edit_posts') ) : ?> 
    8180<div class="tool-box"> 
    8281        <h3 class="title"><?php _e('Press This') ?></h3> 
    8382        <p><?php _e('Press This is a bookmarklet: a little app that runs in your browser and lets you grab bits of the web.');?></p>