[wp-trac] [WordPress Trac] #55290: Not all image edits are applied to all subsizes

WordPress Trac noreply at wordpress.org
Sat Sep 24 16:18:10 UTC 2022


#55290: Not all image edits are applied to all subsizes
--------------------------------+------------------------------------------
 Reporter:  mitogh              |       Owner:  joedolson
     Type:  defect (bug)        |      Status:  accepted
 Priority:  normal              |   Milestone:  6.1
Component:  Media               |     Version:  5.9.1
 Severity:  normal              |  Resolution:
 Keywords:  has-patch needs-    |     Focuses:  administration, performance
  testing                       |
--------------------------------+------------------------------------------

Comment (by joedolson):

 Refreshed patch also changes the variable name from
 `$_wp_additional_image_sizes` to `$_wp_registered_image_sizes`, so that
 the variable matches the data source. While the results of
 `wp_additional_image_sizes` and `wp_registered_image_sizes` should be very
 similar, it will make the code easier to follow for these to match.

 @alaca In my tests, these changes do fix the missing file in the case you
 described: rotating a horizontal image to a vertical position produces all
 the expected image edits. Are you getting a different result?

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


More information about the wp-trac mailing list