Thumbnail not shown when uploading a single image in media-new.php
|Reported by:||scribu||Owned by:||nacin|
|Component:||Media||Keywords:||has-patch commit dev-reviewed|
Description (last modified by scribu)
Steps to reproduce:
- Go to /wp-admin/media-new.php
- Upload a single image (let's call it 'test.jpg').
The progress bar shows, the image title is transformed to 'test'; no thumbnail.
- Upload another image.
You will now see the thumbnails for both images.
It seems like the code that's supposed to show the thumbnail doesn't get triggered until the second upload.
Reproduced in Firefox and Chrome.