This is a bug with the WP media frame and we’re trying to find a way to resolve this.
Hi Manny and Jon,
I just ran into the same problem.
I’ve downgraded to version 4.5.7 which is still working as normal.
Normally the media select modal shows the file being uploaded at the main collection of images, but not anymore version 4.6.0.
After some switching around is does appear like Jon says.
Thanks!
Ruud
Alright, now I got the gist of whats going on. In the new code, I’m preventing the media that are already selected from showing up in the modal. That is what is preventing the uploads from showing up. Now that I know why this is happening, I’ll have to change how the modal is invoked. Instead of not showing the already selected images/files, I’ll have them show up in the modal selected. This will change the modal’s behavior: you will now be able to add and remove the images in the modal instead of just adding.
I’ll keep you guys posted once I have the code worked out. Thanks for the patience
Hi Manny,
Thanks for your quick reply.
I’m not sure that being able to remove images from the modals’-collection pane is needed. But pre-selecting the file uploaded is the default action of the modal in the 4.5.7 version which is excellent.
How would it work if you upload files simultaneously? select none, select all?
Thanks,
Ruud
Alright, fixed in the latest commit on the Github page: https://github.com/rilwis/meta-box/commit/23fe384f1b44b56b2a2a19bd4fec03ad4cec7725
Please download and test, though it works fine for me. There is one caveat that I’m hoping will get fixed in WP in the future but as it stands, this fix works.
Hoi Manny,
I tried your fix, and the newly uploaded file is visible and selected after upload.
Thanks,
Ruud
No problem. I’m considering this resolved
I pushed the changed file to the server for now.
Are your releasing an intermediate version, like 4.6.1?
That’s up to the head author but most likely, yes
Thanks, would appreciate that.
The fix works, please release an update for the plugin.
Ideal! Working perfectly!
Have replaced the plugin with the github master version and the problem has been solved.
I’ll put the main plugin back once an update is released. Thanks for working this out! 🙂