From b223ec07eda42d237b69bca3530e72af45d52ca0 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Sun, 15 Jan 2023 00:59:52 +0000 Subject: [PATCH] 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 --- src/wp-includes/pluggable.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/pluggable.php b/src/wp-includes/pluggable.php index 9ea9065584..c7decd1e8e 100644 --- a/src/wp-includes/pluggable.php +++ b/src/wp-includes/pluggable.php @@ -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;