Make WordPress Core

Changeset 26509


Ignore:
Timestamp:
12/01/2013 11:12:38 PM (11 years ago)
Author:
dd32
Message:

Add braces around a conditional hook. This wasn't causing an issue as if ( conditional ) /* multiline comment */ command(); is perfectly OK, but left open doubt and potential future bugs. See #25229

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/plugin.php

    r26262 r26509  
    624624        $network_deactivating = false !== $network_wide && is_plugin_active_for_network( $plugin );
    625625
    626         if ( ! $silent )
     626        if ( ! $silent ) {
    627627            /**
    628628             * Fires for each plugin being deactivated in deactivate_plugins(), before deactivation
     
    636636             */
    637637            do_action( 'deactivate_plugin', $plugin, $network_deactivating );
     638        }
    638639
    639640        if ( false !== $network_wide ) {
Note: See TracChangeset for help on using the changeset viewer.