Skip to content

Commit

Permalink
fixes #1709 incorrect pattern to delete custom sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
plegall committed Sep 9, 2022
1 parent 72d3940 commit 076acc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/include/functions.php
Expand Up @@ -2951,7 +2951,7 @@ function clear_derivative_cache($types='all')
$type = $types[$i];
if ($type == IMG_CUSTOM)
{
$type = derivative_to_url($type).'[a-zA-Z0-9]+';
$type = derivative_to_url($type).'_[a-zA-Z0-9]+';
}
elseif (in_array($type, ImageStdParams::get_all_types()))
{
Expand Down

0 comments on commit 076acc2

Please sign in to comment.