[wp-trac] [WordPress Trac] #62900: PNG original image not affected by conversion filter

WordPress Trac noreply at wordpress.org
Tue Feb 4 19:13:07 UTC 2025


#62900: PNG original image not affected by conversion filter
-------------------------------------------------+-------------------------
 Reporter:  pixlpirate                           |       Owner:
                                                 |  adamsilverstein
     Type:  defect (bug)                         |      Status:  reviewing
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Media                                |     Version:  6.7.1
 Severity:  normal                               |  Resolution:
 Keywords:  dev-feedback needs-testing has-      |     Focuses:
  patch                                          |
-------------------------------------------------+-------------------------

Comment (by adamsilverstein):

 @pixlpirate the issue was indeed in the block of code you identified.

 In https://github.com/WordPress/wordpress-develop/pull/8253 I added a
 conditional to take the output format into consideration when skipping
 full sized PNGs. The original logic applies for normal PNG uploads, but is
 skipped when the output format is not PNG.

 Can you give the PR a test to verify it fixes the issue on your end? It
 worked in my testing.

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


More information about the wp-trac mailing list