Make WordPress Core


Ignore:
Timestamp:
05/27/2010 09:49:38 AM (16 years ago)
Author:
dd32
Message:

Fully implement the 'delete_themes' capability. See also r13547

File:
1 edited

Legend:

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

    r14727 r14984  
    441441                upgrade_290();
    442442
    443         if ( $wp_current_db_version < 14726 )
     443        if ( $wp_current_db_version < 14984 )
    444444                upgrade_300();
    445445
    … …  
    11091109        global $wp_current_db_version, $wpdb;
    11101110
    1111         if ( $wp_current_db_version < 14139 ) {
     1111        if ( $wp_current_db_version < 14984 )
    11121112                populate_roles_300();
    1113                 if ( is_multisite() && is_main_site() && ! defined( 'MULTISITE' ) && get_site_option( 'siteurl' ) === false )
    1114                         add_site_option( 'siteurl', '' );
    1115         }
     1113
     1114        if ( $wp_current_db_version < 14139 && is_multisite() && is_main_site() && ! defined( 'MULTISITE' ) && get_site_option( 'siteurl' ) === false )
     1115                add_site_option( 'siteurl', '' );
    11161116
    11171117        // 3.0-alpha nav menu postmeta changes. can be removed before release. // r13802
Note: See TracChangeset for help on using the changeset viewer.