Make WordPress Core

Changeset 15607


Ignore:
Timestamp:
09/10/2010 08:29:19 PM (16 years ago)
Author:
nacin
Message:

Fix UPLOADS constant. see #14840.

File:
1 edited

Legend:

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

    r15590 r15607  
    21252125        $upload_path = get_option( 'upload_path' );
    21262126        $upload_path = trim($upload_path);
    2127         $main_override = defined( 'MULTISITE' ) && is_main_site();
     2127        $main_override = is_multisite() && defined( 'MULTISITE' ) && is_main_site();
    21282128        if ( empty($upload_path) ) {
    21292129                $dir = WP_CONTENT_DIR . '/uploads';
Note: See TracChangeset for help on using the changeset viewer.