Michael Beckwith
Michael Beckwith
Check for other prime filter locations
http://thereforei.am/2011/03/15/how-to-allow-administrators-to-edit-users-in-a-wordpress-network/ ``` function wds_bp_registration_options_allow_bp_users_caps( $caps, $cap, $user_id, $args ) { foreach( $caps as $key => $capability ){ if( $capability != 'do_not_allow' ) continue; switch( $cap ) { case 'edit_user': case...
I think we could get away with this being enabled within just the scope of the plugin, by having the add_action only be called within the page rendering callback. Needs...
add hook to admin init, inside the callback, check what screen we're on. If we're on any of our plugin's screens, do the add_action() on our map_meta_cap callback, else return.
*_user_meta() appears to work regardless of super admin status. At the point of BPRO moderation, the user is actually already created. At least on the approval side, all that's left...
Bumping as it's a larger topic than I want to deal with for 4.3.0 😈
This will be an ongoing thing. Thus far I've added support for BuddyPress Like and BuddyPress Send Invites.
Moving milestone to future release as no plan to include any more for 4.3.0 release.
#195 likely related
Will try to review soon, thanks for this thus far @cherbst