WordPress.org

Make WordPress Core

Ticket #22469: uploads-wpcom.diff

File uploads-wpcom.diff, 407 bytes (added by nacin, 17 months ago)
  • wp-includes/functions.php

     
    15441544                } 
    15451545        } 
    15461546 
     1547        $dir = untrailingslashit( BLOGUPLOADDIR ); 
     1548        $url = trailingslashit( $siteurl ) . UPLOADS; 
     1549        $url = str_replace( UPLOADS, 'files', $url ); 
     1550 
    15471551        $basedir = $dir; 
    15481552        $baseurl = $url;