0

I'm using Wordpress 3.1. I need to forbid users to change their first, last and screen names in their profile, but admin must still have this possibility. How can I do that?

1

Have a look at this question - Preventing users from changing their email address.

3
  • I've added <?php if (!current_user_can('manage_options')) print ('disabled="disabled"') ?> to input tags. Mar 31 '11 at 9:24
  • @post-factum it wont save if you would submit a post request. Mar 31 '11 at 10:43
  • @ilovewordpress But it works for me. Apr 4 '11 at 10:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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