#52258 closed defect (bug) (worksforme)
Image uploader preview not working with multisite on 5.6
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | minor | Version: | 5.6 |
Component: | Media | Keywords: | 2nd-opinion |
Focuses: | Cc: |
Description
Hello,
Since upgrading to 5.6 I can't upload and set images. Which is a big issue on my main site. The images seem to upload ok (and appear in the wp-content/uploads folder), but the preview never loads, so I can't use them or set them as a featured image.
It seems it might be linked to the multisite > network settings > site upload space.
I've tested this with a clean install, any theme. PHP 7.3.17, Mysql 8.0, Apache 2.4.46
For 5.5.3, I installed, changed to a multisite, toggle the 'site upload space' settings and uploading and setting images works fine. When I upgrade to 5.6, it then stops working.
When I've done a clean 5.6 install, then change to multisite, it works until I toggle the 'site upload space' it then stops the image uploader working, with whatever settings I have in.
Not sure if there's a way around it? eg putting something in the htaccess file.
I also saw this file has been updated wp-admin/async-upload.php, which when I inspected the code looks like it doesn't always load.
thanks,
Simon
5.5 image uploader working fine