Make WordPress Core


Ignore:
Timestamp:
10/27/2010 01:58:17 AM (14 years ago)
Author:
nacin
Message:

Fix UPLOADS constant. fixes #14840 for the 3.0 branch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/wp-includes/functions.php

    r15197 r15995  
    21262126    $upload_path = get_option( 'upload_path' );
    21272127    $upload_path = trim($upload_path);
    2128     $main_override = defined( 'MULTISITE' ) && is_main_site();
     2128    $main_override = is_multisite() && defined( 'MULTISITE' ) && is_main_site();
    21292129    if ( empty($upload_path) ) {
    21302130        $dir = WP_CONTENT_DIR . '/uploads';
Note: See TracChangeset for help on using the changeset viewer.