[wp-trac] [WordPress Trac] #48518: Inconsistent behavior when a registered image size is larger than the big image threshold

WordPress Trac noreply at wordpress.org
Thu Nov 7 18:49:29 UTC 2019


#48518: Inconsistent behavior when a registered image size is larger than the big
image threshold
-----------------------------------+---------------------
 Reporter:  azaozz                 |       Owner:  azaozz
     Type:  defect (bug)           |      Status:  closed
 Priority:  normal                 |   Milestone:  5.3
Component:  Upload                 |     Version:  trunk
 Severity:  normal                 |  Resolution:  fixed
 Keywords:  has-patch 2nd-opinion  |     Focuses:
-----------------------------------+---------------------
Changes (by azaozz):

 * owner:  (none) => azaozz
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"46677" 46677]:
 {{{
 #!CommitTicketReference repository="" revision="46677"
 Upload: When an image was scaled because it is larger than the big image
 threshold, use the originally uploaded image's dimensions in
 `wp_get_missing_image_subsizes()`. Fixes an edge case/inconsistent
 behaviour when a registered image sub-size is also larger than the big
 image threshold.

 Props desrosj, azaozz.
 Fixes #48518 for trunk.
 }}}

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


More information about the wp-trac mailing list