wp-user-manager icon indicating copy to clipboard operation
wp-user-manager copied to clipboard

Allow other roles to be able to view and edit their profile image from the wp-admin

Open polevaultweb opened this issue 4 years ago • 0 comments
trafficstars

I was unable to allow other roles to view their custom avatar from the WP user profile edit page, I had to use a filter (carbon_fields_user_meta_container_admin_only_access) to return false to prevent the capability check is added. A setting would be preferred.

Currently this is only possible with a filter

add_filter( 'carbon_fields_user_meta_container_admin_only_access', '__return_false' );

polevaultweb avatar Mar 23 '21 21:03 polevaultweb