From 66ac1f40ed3d1191f7513790c34ccbe39a203fb2 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Thu, 25 Aug 2016 07:35:15 +0000 Subject: [PATCH] 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 --- src/wp-includes/pluggable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/pluggable.php b/src/wp-includes/pluggable.php index 0da1f73aaa..b894b581c1 100644 --- a/src/wp-includes/pluggable.php +++ b/src/wp-includes/pluggable.php @@ -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; * } *