mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Docs: Add a missing parenthesis in an example in the DocBlock for wp_redirect().
Props shayanys. See #37770. git-svn-id: https://develop.svn.wordpress.org/trunk@38350 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1128,7 +1128,7 @@ if ( !function_exists('wp_redirect') ) :
|
||||
* 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'} hooks:
|
||||
*
|
||||
* if ( wp_redirect( $url ) {
|
||||
* if ( wp_redirect( $url ) ) {
|
||||
* exit;
|
||||
* }
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user