[wp-trac] [WordPress Trac] #52867: Add capability to set default format for image sub-sizes.

WordPress Trac noreply at wordpress.org
Sat May 22 12:59:01 UTC 2021


#52867: Add capability to set default format for image sub-sizes.
-------------------------------------------------+-------------------------
 Reporter:  adamsilverstein                      |       Owner:  antpb
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  5.8
Component:  Media                                |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch dev-feedback has-unit-     |     Focuses:
  tests needs-testing has-testing-info           |
-------------------------------------------------+-------------------------

Comment (by SergeyBiryukov):

 In [changeset:"50951" 50951]:
 {{{
 #!CommitTicketReference repository="" revision="50951"
 Media: Some documentation and test improvements for the
 `image_editor_output_format` filter:

 * Update the filter DocBlock per the documentation standards.
 * Use a shorter variable name for consistency with the surrounding code.
 * Delete the test file before performing assertions to avoid leftovers in
 case the test fails.

 Follow-up to [50943].

 See #52867.
 }}}

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


More information about the wp-trac mailing list