user_storage = $user_storage; } /** * @inheritDoc */ public function handle( $user, $response = null ) { if ( ! $this->is_wp_user( $user ) && $this->user_storage->is_wp_user_set() && ! force_ssl_admin() ) { if ( get_user_option( 'use_ssl', $this->user_storage->get_user_id() ) ) { force_ssl_admin( true ); } } return $this->run_next( $user, $response ); } }