WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/26/2010 08:02:11 PM (10 years ago)
Author:
ryan
Message:

Integrate fix_upload_details() into wp_upload_dir(). see #11644

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/ms-functions.php

    r12850 r12851  
    16271627
    16281628/* Misc functions */
    1629 function fix_upload_details( $uploads ) {
    1630     $uploads['url'] = str_replace( UPLOADS, "files", $uploads['url'] );
    1631     $uploads['baseurl'] = str_replace( UPLOADS, "files", $uploads['baseurl'] );
    1632     return $uploads;
    1633 }
    1634 
    16351629function get_dirsize( $directory ) {
    16361630    $dirsize = get_transient( 'dirsize_cache' );
Note: See TracChangeset for help on using the changeset viewer.