Media modal pop up broken
-
This issue is happening with the media selection options when editing and creating a new flipbook, where the order by which photos and PDF’s appear is seemingly random, seeing an item from 2017 followed by one from 2021 and afterwards from 2018, sometimes without alphabetical relation as well.
Trying to upload a photo or a PDF with an unique name will put it on the media folder from April 2020. While the file’s content may be correct in this case, not only are we forced to load the items until it appears randomly to select it, if the file had the same name as a previous one that exists in the same file, it’ll be overwritten.
I can’t explain how to reproduce this issue aside from uploading a file through it and see that the media url is pointing to the wrongly dated folders, alongside checking how 2 files with the same name and different content will not be corrected to have unique names and the newly uploaded document will be overwritten by the one uploaded first.
Examples [not sharing the full url to leave the client undisclosed]:
– PDF uploaded through the media pop up today url: wp-content/uploads/2020/04/test_22.pdf
– wp-content/uploads/2020/04/test.pdf uploaded today will share the same name and url as wp-content/uploads/2020/04/test.pdf uploaded in april 2020, being overwritten by the later as well
– 5-1.jpg from December 2018 is followed by fruit.jpg from January 2021 and image.jpg from July 2020How can we make it so that the file is uploaded to the right folder and force the media pop up to order the items by date as per usual?
- The topic ‘Media modal pop up broken’ is closed to new replies.