Add braces around a Docblock in an if statement, although not required by PHP, this is required by our coding standards for readability.

Introduced in 3.9 with r27365
See #25905


git-svn-id: https://develop.svn.wordpress.org/trunk@30886 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dion Hulse 2014-12-16 05:51:49 +00:00
parent c959c4d4b3
commit 1e721a144b
1 changed files with 2 additions and 2 deletions

View File

@ -52,8 +52,7 @@ function get_option( $option, $default = false ) {
if ( ! defined( 'WP_INSTALLING' ) ) {
// prevent non-existent options from triggering multiple queries
$notoptions = wp_cache_get( 'notoptions', 'options' );
if ( isset( $notoptions[$option] ) )
if ( isset( $notoptions[ $option ] ) ) {
/**
* Filter the default value for an option.
*
@ -65,6 +64,7 @@ function get_option( $option, $default = false ) {
* in the database.
*/
return apply_filters( 'default_option_' . $option, $default );
}
$alloptions = wp_load_alloptions();