mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-28 07:07:38 +02:00
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
This commit is contained in:
parent
d5f95382f0
commit
badc8943d1
@ -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;
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user