From 5161c47792529e30028d839b2a6e40116f0288e8 Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 4 May 2011 19:49:25 +0000 Subject: [PATCH] Make "Space Used" gray instead of green in multisite Right Now box. Props ocean90. fixes #17283 git-svn-id: http://svn.automattic.com/wordpress/trunk@17799 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/dashboard.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/dashboard.php b/wp-admin/includes/dashboard.php index b4faf111c1..5394edd046 100644 --- a/wp-admin/includes/dashboard.php +++ b/wp-admin/includes/dashboard.php @@ -1112,7 +1112,7 @@ function wp_dashboard_quota() { $percentused = '100'; else $percentused = ( $used / $quota ) * 100; - $used_color = ( $percentused < 70 ) ? ( ( $percentused >= 40 ) ? 'waiting' : 'approved' ) : 'spam'; + $used_color = ( $percentused >= 70 ) ? ' spam' : ''; $used = round( $used, 2 ); $percentused = number_format( $percentused ); @@ -1130,7 +1130,7 @@ function wp_dashboard_quota() { - +
%2$sMB (%3$s%%)' ), esc_url( admin_url( 'upload.php' ) ), $used, $percentused ); ?>