mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-27 14:53:08 +02:00
Docs: Add a missing parenthesis in an example in the DocBlock for wp_redirect()
.
Props shayanys. See #37770. Built from https://develop.svn.wordpress.org/trunk@38350 git-svn-id: http://core.svn.wordpress.org/trunk@38291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
15edc78f6f
commit
f07f1b126e
@ -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;
|
||||
* }
|
||||
*
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.7-alpha-38349';
|
||||
$wp_version = '4.7-alpha-38350';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user