diff --git a/wp-admin/includes/class-wp-ms-users-list-table.php b/wp-admin/includes/class-wp-ms-users-list-table.php index d44bd1ed76..4793288295 100644 --- a/wp-admin/includes/class-wp-ms-users-list-table.php +++ b/wp-admin/includes/class-wp-ms-users-list-table.php @@ -243,7 +243,7 @@ class WP_MS_Users_List_Table extends WP_List_Table { ?>user_login; ?>user_login, $super_admins ) ) { - echo ' - ' . __( 'Super Admin' ); + echo ' — ' . __( 'Super Admin' ); } ?> user_login, get_super_admins(), true ) ) { + $super_admin = ' — ' . __( 'Super Admin' ); + } + } + // Check if the user for this row is editable if ( current_user_can( 'list_users' ) ) { // Set up the user editing link $edit_link = esc_url( add_query_arg( 'wp_http_referer', urlencode( wp_unslash( $_SERVER['REQUEST_URI'] ) ), get_edit_user_link( $user_object->ID ) ) ); if ( current_user_can( 'edit_user', $user_object->ID ) ) { - $edit = "$user_object->user_login
"; + $edit = "{$user_object->user_login}{$super_admin}
"; $actions['edit'] = '' . __( 'Edit' ) . ''; } else { - $edit = "$user_object->user_login
"; + $edit = "{$user_object->user_login}{$super_admin}
"; } if ( !is_multisite() && get_current_user_id() != $user_object->ID && current_user_can( 'delete_user', $user_object->ID ) ) @@ -453,7 +461,7 @@ class WP_Users_List_Table extends WP_List_Table { . ""; } else { - $edit = '' . $user_object->user_login . ''; + $edit = "{$user_object->user_login}{$super_admin}"; } $avatar = get_avatar( $user_object->ID, 32 ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 4d6db8d6c8..bfa69181b9 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-alpha-41149'; +$wp_version = '4.9-alpha-41150'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.