WordPress.org

Make WordPress Core

Changeset 14998


Ignore:
Timestamp:
05/27/10 18:06:48 (4 years ago)
Author:
wpmuguru
Message:

add fileupload_url option to main site on network install, see #13483

File:
1 edited

Legend:

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

    r14984 r14998  
    738738            $upload_path = substr( WP_CONTENT_DIR, strlen( ABSPATH ) ) . '/uploads'; 
    739739            update_option( 'upload_path', $upload_path ); 
     740            update_option( 'fileupload_url', get_option( 'siteurl' ) . '/' . $upload_path ); 
    740741        } 
    741742    } 
Note: See TracChangeset for help on using the changeset viewer.