Ticket #22702: 22702.2.diff
| File 22702.2.diff, 617 bytes (added by nacin, 6 months ago) |
|---|
-
wp-includes/functions.php
1538 1538 // 2) we are not switched, as ms_upload_constants() hardcodes 1539 1539 // these constants to reflect the original blog ID. 1540 1540 1541 // Do these look familiar? 1542 $dir = ABSPATH . UPLOADS; 1543 $url = trailingslashit( $siteurl ) . UPLOADS; 1544 1541 1545 if ( defined( 'BLOGUPLOADDIR' ) ) 1542 1546 $dir = untrailingslashit( BLOGUPLOADDIR ); 1543 1547 $url = str_replace( untrailingslashit( UPLOADS ), 'files', $url );
