HTTP API: Correct the name of a filter referenced in the docs for wp_redirect() and wp_safe_redirect().

Props pbiron, audrasjb, SergeyBiryukov 

Fixes #57464


git-svn-id: https://develop.svn.wordpress.org/trunk@55069 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2023-01-15 00:59:52 +00:00
parent f434da3dec
commit b223ec07ed

View File

@ -1348,7 +1348,7 @@ if ( ! function_exists( 'wp_redirect' ) ) :
* exit;
*
* Exiting can also be selectively manipulated by using wp_redirect() as a conditional
* in conjunction with the {@see 'wp_redirect'} and {@see 'wp_redirect_location'} filters:
* in conjunction with the {@see 'wp_redirect'} and {@see 'wp_redirect_status'} filters:
*
* if ( wp_redirect( $url ) ) {
* exit;
@ -1494,7 +1494,7 @@ if ( ! function_exists( 'wp_safe_redirect' ) ) :
* exit;
*
* Exiting can also be selectively manipulated by using wp_safe_redirect() as a conditional
* in conjunction with the {@see 'wp_redirect'} and {@see 'wp_redirect_location'} filters:
* in conjunction with the {@see 'wp_redirect'} and {@see 'wp_redirect_status'} filters:
*
* if ( wp_safe_redirect( $url ) ) {
* exit;