mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-10 04:00:07 +00:00
Fix var typo
git-svn-id: https://develop.svn.wordpress.org/trunk@6888 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -330,7 +330,7 @@ unset($role_links);
|
||||
<?php
|
||||
foreach ( $wp_user_search->get_results() as $userid ) {
|
||||
$user_object = new WP_User($userid);
|
||||
$roles = $user->roles;
|
||||
$roles = $user_object->roles;
|
||||
$role = array_shift($roles);
|
||||
|
||||
$style = '';
|
||||
|
||||
Reference in New Issue
Block a user