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 Answer
-
I've added
<?php if (!current_user_can('manage_options')) print ('disabled="disabled"') ?>
to input tags. Mar 31, 2011 at 9:24 -
@post-factum it wont save if you would submit a post request. Mar 31, 2011 at 10:43
-