3

I'm wondering if there's a way to make 100% sure a user's info is not available to the public. Our theme is not currently using a profile page, but I did notice that there is a 'Posts by author' page for each user.

Aside from that, is there anywhere else a user's info may show up? I'm hoping to have no info be displayed anywhere on the site, including a user's email address, name, username, etc.

The reason for this is that our WordPress user's will have very sensitive information, and that they will not want to be public in any way shape or form.

Question: Where in public/not logged in request can author info be exposed?

2
  • Daniel, please file an edit and explain why you want to avoid that and what sort of info you don't want to have exposed.
    – kaiser
    Commented Feb 19, 2014 at 1:26
  • 1
    Any plugin or theme could potentially expose that data, which makes this question at least in part plugin and theme dependent.
    – s_ha_dum
    Commented Feb 19, 2014 at 1:39

1 Answer 1

2

This is dependant on your theme/plugins so it's impossible to answer, as s_ha_dum mentioned.

For example some themes output the author name in the body as a class like <body class="author-keanu"> or maybe they just use the author id like <body class="archive author-22"> and then you can check the author by going to www.example.com/?author=22 and maybe the template hierarchy has an author page, or a plugin added one, or maybe not.

Since there are lots of WP functions that can output/or use author/nicename or author id's the only real solution is to audit your theme/plugin code.

Another important note is that you can guess if a username exists using WP's login. for example if you guess an existing username of "Jane" the error will be:

ERROR: The password you entered for the username Jane is incorrect.

2
  • This makes sense, we're using the Underscore theme, so it should be fairly straight forward to audit. Thanks!
    – Daniel
    Commented Feb 20, 2014 at 3:05
  • 1
    Just make sure to also look at any plugins that can also hook into many of the user functions.
    – Wyck
    Commented Feb 20, 2014 at 13:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.