Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #40370, comment 18


Ignore:
Timestamp:
01/24/2021 01:25:51 AM (5 years ago)
Author:
davidbawiec
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #40370, comment 18

    initial v1  
    2626
    2727                $format = "{$this->size['width']}x{$this->size['height']}";
    28                 return apply_filters('get_image_filename_suffix', $format );
     28                return apply_filters('get_image_filename_suffix', $format, $size_name );
    2929        }
    3030}}}
    31 The filter could allow devs to override the naming format for image thumbnails. Of course, having the naming convention altered to fix this altogether would be fantastic and a preferred solution to this patch.
     31The filter could allow devs to override the naming format for image thumbnails. But that would also require passing the requested size name to the filter. So having the naming convention altered in WP Core to fix this altogether would be fantastic and a preferred solution to this "filter" patch.
    3232
    3333Either way would love to hear about any progress that has been made on this bug. @azaozz it seems like you were last involved in some conversations on this?