Subscriptors can’t upload an image
-
Users in my web page are created with the role “subscriptors”, so they are not author or above.
They can register themselves in the web and edit their own profile.
I included this code to allow them upload their own avatar:
<?php echo do_action(‘edit_user_avatar’, $current_user); ?>And so far, they can choose the image they want but the ‘Upload’ button is doing nothing.
(class-wp-user-avatar.php)The code works perfectly fine if i change the user role to Author, but not as subscriber.
They can do it properly via the wordpress profile editor, but not via my front page.Any ideas to solve it?
Thanks in advanced!
- The topic ‘Subscriptors can’t upload an image’ is closed to new replies.