Make WordPress Core


Ignore:
Timestamp:
11/28/2011 08:35:36 PM (14 years ago)
Author:
ryan
Message:

Initialize active_sitewide_plugins during network install and upgrade. fixes #19385

File:
1 edited

Legend:

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

    r19469 r19470  
    12551255    if ( $wp_current_db_version < 19390 )
    12561256        update_site_option( 'initial_db_version', $wp_current_db_version );
     1257    if ( $wp_current_db_version < 19470 ) {
     1258        if ( false === get_site_option( 'active_sitewide_plugins' ) )
     1259            update_site_option( 'active_sitewide_plugins', array() );
     1260    }
    12571261}
    12581262
Note: See TracChangeset for help on using the changeset viewer.