diff --git a/wp-admin/includes/ms.php b/wp-admin/includes/ms.php index 5cb9bb8371..a864892100 100644 --- a/wp-admin/includes/ms.php +++ b/wp-admin/includes/ms.php @@ -448,9 +448,10 @@ function dashboard_quota() { $percentused = '100'; else $percentused = ( $used / $quota ) * 100; - $percentused = number_format($percentused); - $used = round($used,2); - $used_color = ($used < 70) ? (($used >= 40) ? 'waiting' : 'approved') : 'spam'; + $used_color = ( $percentused < 70 ) ? ( ( $percentused >= 40 ) ? 'waiting' : 'approved') : 'spam'; + $used = round( $used, 2 ); + $percentused = number_format( $percentused ); + ?>