Schema meta displays WP username: need filter
-
This plugin apparently displays a WP username as part of the markup, like this:
{“@id”:”https://www.mywebsite.com/author/MyUsername/#id/person”,”@context”:”https://schema.org”,”@type”:”Person”,”name”:”SuperAdmin”},
For the user MyUsername, I have set the Public Name to SuperAdmin, which is just an alias, so no problem with that. But the “id” shows an actual WP username – big security issue! My security software is set to automatically lock out any username that is either invalid, or that attempts to login with bad passwords. So a hacker could grab that valid username, try to login with invalid passwords, and get locked out. And that would lockout a valid user!
I believe I need to set a filter to change the “@id” to something other than the actual username shown. I am not entirely sure how to do this, referring to the example in the docs for this plug. Can someone point me in the right direction?
The example for such a filter is here.
- The topic ‘Schema meta displays WP username: need filter’ is closed to new replies.