Changeset 13619
- Timestamp:
- 03/08/2010 07:52:29 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
wp-admin/includes/schema.php (modified) (1 diff)
-
wp-includes/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/schema.php
r13595 r13619 727 727 update_user_meta( $site_user->ID, 'source_domain', $domain ); 728 728 update_user_meta( $site_user->ID, 'primary_blog', $blog_id ); 729 if ( !$upload_path = get_option( 'upload_path' ) ) { 730 $upload_path = substr( WP_CONTENT_DIR, strlen( ABSPATH ) ) . '/uploads'; 731 update_option( 'upload_path', $upload_path ); 732 } 729 733 } 730 734 -
trunk/wp-includes/functions.php
r13616 r13619 2132 2132 } 2133 2133 2134 if ( defined('UPLOADS') ) {2134 if ( defined('UPLOADS') && ( WP_CONTENT_DIR . '/uploads' != ABSPATH . $upload_path ) ) { 2135 2135 $dir = ABSPATH . UPLOADS; 2136 2136 $url = trailingslashit( $siteurl ) . UPLOADS;
Note: See TracChangeset
for help on using the changeset viewer.