• 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.

  • The topic ‘Global sanitize_file_name filter causing issues’ is closed to new replies.