Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Currently, transliteration action will be performed as long as the module is enabled. However, there is a setting variable to control the behavior in transliteration. Sometimes, we need to enable transliteration module to use its functions internally and don't want to apply to all uploaded files.
Just change code from
if (module_exists('transliteration')) {
to
if (module_exists('transliteration') && variable_get('transliteration_file_uploads', TRUE)) {
Comment | File | Size | Author |
---|---|---|---|
plupload-20130904.patch | 552 bytes | hgneng |
Comments
Comment #1
slashrsm CreditAttribution: slashrsm commentedCommitted. Thanks.