Make WordPress Core

Changeset 30943 for branches/4.1


Ignore:
Timestamp:
12/16/2014 10:36:18 PM (11 years ago)
Author:
johnbillion
Message:

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

Merges [30886] to the 4.1 branch.

See #25905

Location:
branches/4.1
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.1

  • branches/4.1/src/wp-includes/option.php

    r30673 r30943  
    5353        // prevent non-existent options from triggering multiple queries
    5454        $notoptions = wp_cache_get( 'notoptions', 'options' );
    55         if ( isset( $notoptions[$option] ) )
    56 
     55        if ( isset( $notoptions[ $option ] ) ) {
    5756            /**
    5857             * Filter the default value for an option.
     
    6665             */
    6766            return apply_filters( 'default_option_' . $option, $default );
     67        }
    6868
    6969        $alloptions = wp_load_alloptions();
Note: See TracChangeset for help on using the changeset viewer.