Skip to content

Commit

Permalink
Fix UPLOADS constant. fixes #14840 for the 3.0 branch.
Browse files Browse the repository at this point in the history
git-svn-id: https://develop.svn.wordpress.org/branches/3.0@15995 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
nacin committed Oct 27, 2010
1 parent 1322e56 commit 5935097
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-includes/functions.php
Expand Up @@ -2125,7 +2125,7 @@ function wp_upload_dir( $time = null ) {
$siteurl = get_option( 'siteurl' );
$upload_path = get_option( 'upload_path' );
$upload_path = trim($upload_path);
$main_override = defined( 'MULTISITE' ) && is_main_site();
$main_override = is_multisite() && defined( 'MULTISITE' ) && is_main_site();
if ( empty($upload_path) ) {
$dir = WP_CONTENT_DIR . '/uploads';
} else {
Expand Down

0 comments on commit 5935097

Please sign in to comment.