mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00: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 git-svn-id: https://develop.svn.wordpress.org/trunk@55069 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f434da3dec
commit
b223ec07ed
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user