mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@36569 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -108,7 +108,7 @@ function wpmu_delete_blog( $blog_id, $drop = false ) {
|
||||
}
|
||||
|
||||
if ( $drop ) {
|
||||
$uploads = wp_upload_dir();
|
||||
$uploads = wp_get_upload_dir();
|
||||
|
||||
$tables = $wpdb->tables( 'blog' );
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user