warnings cleanup, dont show removed user in edit site, fixes #12409
git-svn-id: http://svn.automattic.com/wordpress/trunk@13460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -242,6 +242,8 @@ switch ( $action ) {
|
||||
echo "<tr><th>" . __('User') . "</th><th>" . __('Role') . "</th><th>" . __('Password') . "</th><th>" . __('Remove') . "</th></tr>";
|
||||
reset($blogusers);
|
||||
foreach ( (array) $blogusers as $key => $val ) {
|
||||
if ( isset( $val->meta_value ) && ! $val->meta_value )
|
||||
continue;
|
||||
$t = @unserialize( $val->meta_value );
|
||||
if ( is_array( $t ) ) {
|
||||
reset( $t );
|
||||
|
||||
Reference in New Issue
Block a user