Make WordPress Core


Ignore:
Timestamp:
03/17/2005 11:34:06 PM (21 years ago)
Author:
matt
Message:

Use installing variable (from Donncha)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r2437 r2455  
    304304function get_settings($setting) {
    305305  global $wpdb, $cache_settings, $cache_nonexistantoptions;
    306     if ( strstr($_SERVER['REQUEST_URI'], 'wp-admin/install.php') )
     306    if ( strstr($_SERVER['REQUEST_URI'], 'wp-admin/install.php') || constant('WP_INSTALLING') )
    307307        return false;
    308308
Note: See TracChangeset for help on using the changeset viewer.