We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I've got unexpected behavior. Didn't understood why there is no description visible for one image.
turns out in controller.php line 882
// Retrieve attachment IDs. $uris_flat = "('" . implode("','", array_keys($uris_base)) . "')"; $q = $wpdb->prepare("SELECT post_id, meta_value FROM $wpdb->postmeta WHERE `meta_key` = %s AND LOWER(`meta_value`) IN $uris_flat LIMIT %d", '_wp_attached_file', count($uris_base)+10);
When I have in media 2 different images with case sensitive names like: 2020/10/03_cannelle.png 2020/10/03_Cannelle.png
it gets id for both of them althought one is not in url list and image with max id is left out due to limit.
I made a quick fix for myself with limit increase. But maybe this LOWER() shoud be removed? At least in case sensitive file systems.
The text was updated successfully, but these errors were encountered:
Thanks for the report, I will look into this.
Sorry, something went wrong.
No branches or pull requests
I've got unexpected behavior.
Didn't understood why there is no description visible for one image.
turns out in controller.php line 882
When I have in media 2 different images with case sensitive names like:
2020/10/03_cannelle.png
2020/10/03_Cannelle.png
it gets id for both of them althought one is not in url list and image with max id is left out due to limit.
I made a quick fix for myself with limit increase.
But maybe this LOWER() shoud be removed?
At least in case sensitive file systems.
The text was updated successfully, but these errors were encountered: