Thank you for your question and the details behind it. Just to be clear, is your issue with the actual file name or with the Media Library item Title?
As far as I know, MLA has no feature or internal code that alters the actual name of the file attached to a Media Library item in any way. This was a deliberate design choice going back to the first MLA version and I have declined a few requests to add such features over the years.
There are several ways to upload files to WordPress. If you can give me more details on the steps you take to upload files I will investigate further. If you can provide a link to one of your files (tell me the original file name you specified if it has been changed) I can try testing it on my own system.
WordPress does have a bit of code that might alter the file name, but not in the way you describe. In file \wp-includes\functions.php, function wp_unique_filename()
creates “a filename that is sanitized and unique for the given directory”.
WordPress does contain code to generate item Title, Caption (excerpt) and Description (content) values. In file \wp-admin\includes\image.php, function wp_read_image_metadata()
gets extended image metadata, exif or iptc as available. In file \wp-admin\includes\media.php, functions media_handle_upload()
and media_handle_sideload()
create the item Title, Caption and Description from the image metadata, if present, or the file name.
All of the WordPress functions have many “hooks” (actions and filters) that plugins and themes can use to change the default logic. Again, MLA does not use these hooks to alter the actual file name. MLA does use some of them to change values such as Title and Caption if and only if you define and activate a mapping rule in the Settings/Media Library Assistant IPTC/EXIF tab. You can go to that tab to see if a rule is active or to completely disable the mapping functions.
If you can give me more information and an example file I will try to reproduce your issue on my system. If there’s an MLA problem I will fix it as soon as possible. I will leave this topic unresolved until I hear back from you.