Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Only administrator can change avatar…

@andrewgtibbetts

Participant

Oooooh, this must be my issue.
Here is my current redirect:

// keep the 'normies' out of the admin
add_action( 'admin_init', 'custom_admin_init', 1 );
function custom_admin_init() {

	if ( is_user_logged_in() && ! current_user_can( 'administrator' ) ) {

		wp_redirect( home_url() ); die();
	}
}

Were you able to figure out how to keep the redirect but allow the uploads?

Skip to toolbar