[wp-trac] [WordPress Trac] #54648: Improve filter to enable setting quality for each subsize image

WordPress Trac noreply at wordpress.org
Tue Nov 26 17:13:46 UTC 2024


#54648: Improve filter to enable setting quality for each subsize image
-------------------------------------+-------------------------------------
 Reporter:  Mte90                    |       Owner:  adamsilverstein
     Type:  enhancement              |      Status:  accepted
 Priority:  normal                   |   Milestone:  6.8
Component:  Media                    |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch has-unit-      |     Focuses:  performance,
  tests needs-dev-note commit        |  sustainability
-------------------------------------+-------------------------------------
Changes (by adamsilverstein):

 * keywords:  has-patch needs-unit-tests changes-requested dev-feedback =>
     has-patch has-unit-tests needs-dev-note commit


Comment:

 @joemcgill I updated the PR based on your feedback and also added a test
 to validate that the new dimensions parameter is always passed with a
 consistent shape.

 This should be ready to go.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54648#comment:46>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list