[wp-trac] [WordPress Trac] #57685: Deprecate the `edit_custom_thumbnail_sizes` filter and remove the "Apply changes to..." UI in the image editor

WordPress Trac noreply at wordpress.org
Thu Feb 9 20:41:02 UTC 2023


#57685: Deprecate the `edit_custom_thumbnail_sizes` filter and remove the "Apply
changes to..." UI in the image editor
--------------------------+--------------------
 Reporter:  azaozz        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  6.3
Component:  Media         |    Version:  6.0
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+--------------------
 Follow-up to #28277.

 Been able to edit only some image sub-sizes may have been somewhat useful
 9 years ago but is pretty pointless since WordPress started using
 responsive images (`srcset` and `sizes`). It means that the users will be
 able to "break" responsive images at will, probably without realizing what
 they are doing. At best, this is a plugin material and doesn't belong in
 core.

 In addition the "Apply changes to..." selection in the image editor
 doesn't make sense any more. I think it was added 12 years ago to help
 users switch from proportional to cropped thumbnails, but never worked
 well.

 Thinking that ideally the `edit_custom_thumbnail_sizes` filter should be
 deprecated and maybe output a doing_it_wrong error, and the UI for
 selecting to edit only the thumbnail should be removed.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57685>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list