WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/18/2011 05:06:04 PM (9 years ago)
Author:
markjaquith
Message:

Prevent the browser-out-of-date dashboard nag from being minimized and hide minimization arrow. props aaroncampbell. fixes #17441. see #17323.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r17884 r17952  
    958958                    $hidden_class = in_array($box['id'], $hidden) ? ' hide-if-js' : '';
    959959                    echo '<div id="' . $box['id'] . '" class="postbox ' . postbox_classes($box['id'], $page) . $hidden_class . '" ' . '>' . "\n";
    960                     echo '<div class="handlediv" title="' . esc_attr__('Click to toggle') . '"><br /></div>';
     960                    if ( 'dashboard_browser_nag' != $box['id'] )
     961                        echo '<div class="handlediv" title="' . esc_attr__('Click to toggle') . '"><br /></div>';
    961962                    echo "<h3 class='hndle'><span>{$box['title']}</span></h3>\n";
    962963                    echo '<div class="inside">' . "\n";
     
    17431744    if ( !empty($wp_current_screen_options) )
    17441745        $show_screen = true;
    1745        
     1746
    17461747    $show_screen = apply_filters('screen_options_show_screen', $show_screen, $screen);
    17471748
Note: See TracChangeset for help on using the changeset viewer.