Just noticed that the plugin is actually working as designed. Our active users found around a way around. They can go to their profile and change it to match the name of a registered user and choose to have it display that way.
They can go to their profile and change it to match the name of a registered user and choose to have it display that way.
Well … if they have a profile, then this plugin wouldn’t apply.
It’s only for blocking non logged in users who fake being logged in users. If someone has a profile then they’re logged in and this wouldn’t work. It has this check:
if ( is_user_logged_in() ) {
// It's a logged in user, so it's good.
return $data;
}
You may want to look at https://ww.wp.xz.cn/plugins/modify-profile-fields-dashboard-menu-buttons/ which I believe can be used to prevent changing usernames.
I have been using this plugin so long and forgot how it worked. lol Yes, it works great for logged-out users. Super valuable! I overlooked the fact that my problem was actually users already that are already registered duplicating their names. Thank you for the refresher and recommendation of the other plugin. I will take a look.