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 Built from https://develop.svn.wordpress.org/trunk@30886 git-svn-id: http://core.svn.wordpress.org/trunk@30876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
dc0f6b0b8a
commit
1d59ca9004
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue