WP_Recovery_Mode::redirect_protected

SummerySummery

Redirects the current request to allow recovering multiple errors in one go.

Syntax

WP_Recovery_Mode::redirect_protected()

DescriptionDescription

The redirection will only happen when on a protected endpoint.

It must be ensured that this method is only called when an error actually occurred and will not occur on the next request again. Otherwise it will create a redirect loop.

SourceSource

File: wp-includes/class-wp-recovery-mode.php


			

ChangelogChangelog

Changelog
Version Description
5.2.0 Introduced.
Scroll to Top