';
+screen_icon();
echo '
'.__('Upgrade Site').'
';
switch( $_GET['action'] ) {
case "upgrade":
diff --git a/wp-admin/ms-users.php b/wp-admin/ms-users.php
index 46e8753b05..b1e46eab31 100644
--- a/wp-admin/ms-users.php
+++ b/wp-admin/ms-users.php
@@ -54,29 +54,26 @@ if ( $_GET['updated'] == 'true' ) {
$query .= " WHERE user_login LIKE '$search' OR user_email LIKE '$search'";
}
- if ( !isset($_GET['sortby']) ) {
+ if ( !isset($_GET['sortby']) )
$_GET['sortby'] = 'id';
- }
- if ( $_GET['sortby'] == 'email' ) {
+ if ( $_GET['sortby'] == 'email' )
$query .= ' ORDER BY user_email ';
- } elseif ( $_GET['sortby'] == 'id' ) {
+ elseif ( $_GET['sortby'] == 'id' )
$query .= ' ORDER BY ID ';
- } elseif ( $_GET['sortby'] == 'login' ) {
+ elseif ( $_GET['sortby'] == 'login' )
$query .= ' ORDER BY user_login ';
- } elseif ( $_GET['sortby'] == 'name' ) {
+ elseif ( $_GET['sortby'] == 'name' )
$query .= ' ORDER BY display_name ';
- } elseif ( $_GET['sortby'] == 'registered' ) {
+ elseif ( $_GET['sortby'] == 'registered' )
$query .= ' ORDER BY user_registered ';
- }
$query .= ( $_GET['order'] == 'DESC' ) ? 'DESC' : 'ASC';
- if ( !empty( $s )) {
+ if ( !empty( $s ) )
$total = $wpdb->get_var( str_replace('SELECT *', 'SELECT COUNT(ID)', $query) );
- } else {
+ else
$total = $wpdb->get_var( "SELECT COUNT(ID) FROM {$wpdb->users}");
- }
$query .= " LIMIT " . intval( ( $apage - 1 ) * $num) . ", " . intval( $num );
@@ -101,7 +98,8 @@ if ( $_GET['updated'] == 'true' ) {
?>