[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
Fri Nov 8 22:55:47 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 fixed-major commit dev-    |     Focuses:
  feedback                                       |
-------------------------------------------------+-------------------------
Changes (by azaozz):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"46680" 46680]:
 {{{
 #!CommitTicketReference repository="" revision="46680"
 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.
 Merges [46677] to the 5.3 branch.
 Fixes #48518.
 }}}

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


More information about the wp-trac mailing list