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

git-svn-id: http://svn.automattic.com/wordpress/trunk@17952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith
2011-05-18 17:06:04 +00:00
parent bb8978972e
commit 33aba110ee
4 changed files with 7 additions and 4 deletions

View File

@@ -957,7 +957,8 @@ function do_meta_boxes($page, $context, $object) {
$style = '';
$hidden_class = in_array($box['id'], $hidden) ? ' hide-if-js' : '';
echo '<div id="' . $box['id'] . '" class="postbox ' . postbox_classes($box['id'], $page) . $hidden_class . '" ' . '>' . "\n";
echo '<div class="handlediv" title="' . esc_attr__('Click to toggle') . '"><br /></div>';
if ( 'dashboard_browser_nag' != $box['id'] )
echo '<div class="handlediv" title="' . esc_attr__('Click to toggle') . '"><br /></div>';
echo "<h3 class='hndle'><span>{$box['title']}</span></h3>\n";
echo '<div class="inside">' . "\n";
call_user_func($box['callback'], $object, $box);
@@ -1742,7 +1743,7 @@ function screen_meta($screen) {
if ( !empty($wp_current_screen_options) )
$show_screen = true;
$show_screen = apply_filters('screen_options_show_screen', $show_screen, $screen);
?>