[wp-trac] [WordPress Trac] #34980: image_get_intermediate_size() sometimes skips image sizes

WordPress Trac noreply at wordpress.org
Thu Dec 10 16:25:03 UTC 2015


#34980: image_get_intermediate_size() sometimes skips image sizes
--------------------------+-----------------------------
 Reporter:  flixos90      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:  2.5
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Sometimes it can happen that an image size is not considered in
 `image_get_intermediate_size()` although it applies for the array.

 This is because the product of the image width and height is used as array
 key, however there are cases where different image sizes could share the
 same product (for example 150x300 and 200x225).

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


More information about the wp-trac mailing list