Hello,
I am the author of the Ajax Load More plugin and your unique_uploaded_media_name hook is causing issues with functionality within my plugin as it is converting strings in Ajax requests.
add_filter('sanitize_file_name', 'unique_uploaded_media_name', 10);
Shouldn’t your hook only be fired on media upload? Currently it’s being hooked every time sanitize_file_name is being used.
]]>Hello!
Thanks for the great plugin.
But why not generate a random image name? What if the original name of the picture consists of 10-15 characters? And plus the suffix.
Screenshot – https://funkyimg.com/i/2LDvg.jpg
Please add the function of generating a random image name completely.