From badc8943d110d6210233f836194aef1c9796011a Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Sun, 15 Jan 2023 01:01:15 +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 Built from https://develop.svn.wordpress.org/trunk@55069 git-svn-id: http://core.svn.wordpress.org/trunk@54602 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/pluggable.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php index 9ea9065584..c7decd1e8e 100644 --- a/wp-includes/pluggable.php +++ b/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; diff --git a/wp-includes/version.php b/wp-includes/version.php index c71a537da7..39bc040b4c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.2-alpha-55068'; +$wp_version = '6.2-alpha-55069'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.