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?

link|improve this question
feedback

1 Answer

up vote 1 down vote accepted

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

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

Your Answer

 
or
required, but never shown

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