This commit is contained in:
M. Tuhin 2024-01-29 15:07:38 +00:00 committed by GitHub
commit fe2fbfdaa2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2573,6 +2573,12 @@ function fm_is_exclude_items($file) {
$exclude_items = unserialize($exclude_items);
}
if (!in_array($file, $exclude_items) && !in_array("*.$ext", $exclude_items)) {
//check .min.
if( false !== strpos( $file, '.min.') && in_array("*.min.$ext", FM_EXCLUDE_ITEMS) ){
return false;
}
return true;
}
return false;