Support » Fixing WordPress » Editing User Profiles

  • fingers.morris

    (@fingersmorris)


    Hi – I often spurious new user registrations almost daily, with bizarre usernames such as “ZHogsPPj2rL7h”@gmail.com.
    I therefore delete them from my site as they appear, but before deletion, I use the “Edit” function to make sure that there are no genuine details accompanying such a username.
    Today, while doing this, I noticed that on the user profile page, there is a field for “Twitter username (without @)”. Alarmingly, this field is filled in with the phrase I use as my administrator Log-in name. On checking other legitimate users with full accounts, I find all users have this “Twitter username” field filled with my login – and furthermore, I am unable to delete it. A field for Facebook profile URL exists also, but is empty. How do I remove my login name from this Twitter username field, or better still, the field itself from the user profile page.
    Thanks

    • This topic was modified 3 months ago by Yui.
    • This topic was modified 3 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic
Viewing 6 replies - 1 through 6 (of 6 total)
  • Joy

    (@joyously)

    In earlier versions of WP, there were several contact fields that were available. The information is still maintained if it existed before, but later versions of WP don’t offer all those fields any more. I think WP never had Twitter or Facebook as input fields. You could have used a plugin to add those (or they were part of a plugin you used and you didn’t know it was adding those), and it could have had a bad default.

    My guess is that the data is stored in the user_meta table of the database. You can manually delete the data or use a plugin https://wordpress.org/plugins/search/delete+users/ like Bulk Delete. But you should figure out what plugin is adding the data. Maybe some sort of logging plugin could help. There is a plugin that deletes users that haven’t logged in (or some criteria) automatically on a schedule. I’m not remembering the name right now.

    Thread Starter fingers.morris

    (@fingersmorris)

    Hi Joy – many thanks for replying to my query – I appreciate your help greatly.
    I am not aware of any plugin I may have installed that relates specifically to Users. I was looking at Users entries in the database yesterday (though not for Twitter or Facebook fields), to make sure there were no entries left for deleted users. I was somewhat surprised to see that there was still an entry with Administrator rights, that I had made a little while back to allow Elementor Support access to my site to try and fix a Bug in Elementor. There was also another (long since deleted) username that I had made for myself for testing purposes with Stripe & PayPal. These I of course deleted, but I do tend to be very circumspect when looking at the Database (Plenty of Backups!!)
    However, I shall follow your advice and see if any plugin I have, has any bearing on matters, and also cautiously have another “poke around” in the Database.
    One interesting thing noted today, is that on my Laptop, the Users all have empty “Twitter Username” fields, yet on my husbands desktop, they are filled in with my Administrator login username – Très Bizarre, as they say here in France!!
    Again, many thanks for your advice, and Keep safe during these troubled times.
    Kindest Regards
    Julia C.

    Jos Klever

    (@josklever)

    This sounds like the information is not in the database, but is visible in your backend, because of a auto fill of your webbrowser. That also explains why it’s not visible on a different computer.
    Of course you need to be careful when you change something and save the profile.

    Thread Starter fingers.morris

    (@fingersmorris)

    Hi Jos
    Thank you for your input concerning my query.
    I have to tell you that I think you have “hit the nail on the head” with your suggestion that it is a browser related issue.
    I say this, because I have just logged into my website administration, using the “Vivaldi” web browser instead of Firefox, which I normally use.
    The Twitter and Facebook fields still remain on each user’s profile page with Vivaldi – but these fields are now empty.
    Yet, in another window, where I logged in using Firefox, the Twitter field is filled in with my admin log-in username as described in my query above.
    Please forgive me if I am imposing, but I have to ask if there is anything that can be done to Firefox to prevent this Autofilling of my username — and whether it is something I should be concerned about anyway ??
    Once again, I thank you very much for your input, for which I am very grateful, (and I am greatly impressed that you have this understanding of affairs!!).
    Kindest regards
    Julia C

    Joy

    (@joyously)

    I’m glad to hear that this is the cause. I looked in the Firefox preferences, and there is a section for Logins and Passwords. Under that is an option for Autofill.
    You can just search preferences for autofill and it will show you the other section under Forms and Autofill which are about addresses and credit cards.
    It can be inconvenient to not use the autofill, just because of that, but there is a browser extension called Form History Control that has more specific options.

    Jos Klever

    (@josklever)

    Hi Julia,

    I’m glad that you can confirm that I was right. 😉

    These fields are not part of the (WP) default user profile, so these fields might be shown because of old WP settings or by a plugin or theme you are using on your website.

    You can use the troubleshooting function of the plugin https://wordpress.org/plugins/health-check/ to check if it’s WP or a plugin/theme. You can disable everything without your visitors noticing this. If the fields disappear you can enable your theme again, check the fields and enable the plugin 1 by 1 until the fields reappear. If you find out which theme/plugin is using these fields, you can contact support of that item so they can change the field name or id (I’m not exactly sure) to remove the naming conflict.

    If it’s not a theme of plugin it might be old fields from WP. If you are not using them on your site for any of the profiles, you’ll need to search the database (probably in the wp_usermeta table) to clean the unused fields. If you are not familiar using the database like this, it might be a good idea to contact someone (more experienced) to help you with this.

    Good luck!
    Jos

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.