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 ); + ?>

@@ -458,7 +459,7 @@ function dashboard_quota() { %sMB' ), $quota ); ?> - %1sMB (%2s%%)' ), $used, $percentused ); ?> + %1sMB (%2$s%%)' ), $used, $percentused ); ?>