From 1d59ca900466ffbb0b0118a4ad83b4dd0aba39cc Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Tue, 16 Dec 2014 05:52:23 +0000 Subject: [PATCH] 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 --- wp-includes/option.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/option.php b/wp-includes/option.php index 7183d3c8b1..6134606471 100644 --- a/wp-includes/option.php +++ b/wp-includes/option.php @@ -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();