Making WordPress.org

Changeset 4897


Ignore:
Timestamp:
02/08/2017 11:28:11 PM (8 years ago)
Author:
coreymckrill
Message:

WCPT: Attempt to generate proper upload dir during new site creation

media_sideload_image is failing during site creation because the
site's main upload directory hasn't been created yet. The theory is
that if we call wp_upload_dir with the refresh_cache parameter
set to true before sideloading, the problem will be avoided.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.