[Plugin: Add Local Avatar] can still access action=profile when logged out
-
This is definitely a bug.
Can fix by adding another elseif to the template_redirect() function:
} elseif ( $this->theme_my_login->is_login_page() && !is_user_logged_in() && ( isset( $_REQUEST['action'] ) && 'profile' == $_REQUEST['action'] ) ) { $redirect_to = remove_query_arg( array( 'instance', 'action' ) ); wp_redirect( $redirect_to ); exit(); }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: Add Local Avatar] can still access action=profile when logged out’ is closed to new replies.