Make WordPress Core


Ignore:
Timestamp:
02/18/2016 12:23:04 AM (9 years ago)
Author:
azaozz
Message:

Replace wp_upload_dir() with the new wp_get_upload_dir() in all cases where a file is not being uploaded. Deprecate _wp_upload_dir_baseurl(), and replace it with wp_get_upload_dir().

See #34359.

File:
1 edited

Legend:

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

    r36505 r36569  
    109109
    110110    if ( $drop ) {
    111         $uploads = wp_upload_dir();
     111        $uploads = wp_get_upload_dir();
    112112
    113113        $tables = $wpdb->tables( 'blog' );
Note: See TracChangeset for help on using the changeset viewer.