[wp-trac] [WordPress Trac] #52258: Image uploader preview not working with multisite on 5.6

WordPress Trac noreply at wordpress.org
Fri Jan 8 11:29:15 UTC 2021


#52258: Image uploader preview not working with multisite on 5.6
--------------------------+-----------------------------
 Reporter:  slewis1000    |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:  5.6
 Severity:  major         |   Keywords:  2nd-opinion
  Focuses:                |
--------------------------+-----------------------------
 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

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52258>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list