From 1e721a144b1c342ffee7daa12e3c0ff37aa6a0fa Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Tue, 16 Dec 2014 05:51:49 +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 git-svn-id: https://develop.svn.wordpress.org/trunk@30886 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/option.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/option.php b/src/wp-includes/option.php index 7183d3c8b1..6134606471 100644 --- a/src/wp-includes/option.php +++ b/src/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();