[wp-trac] [WordPress Trac] #38965: Thumbnails with dimensions lower than the thumbnail setting aren't recognized

WordPress Trac noreply at wordpress.org
Thu Dec 1 00:01:39 UTC 2016


#38965: Thumbnails with dimensions lower than the thumbnail setting aren't
recognized
-------------------------------------------------+-------------------------
 Reporter:  Clorith                              |       Owner:  joemcgill
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  4.7
Component:  Media                                |     Version:  trunk
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit      |     Focuses:
  dev-reviewed                                   |
-------------------------------------------------+-------------------------
Changes (by mikeschroder):

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


Comment:

 In [changeset:"39396"]:
 {{{
 #!CommitTicketReference repository="" revision="39396"
 Media: Fix regression with display of small images in media library.

 Fixes a regression in the media library after [38949], which caused
 small images (< thumbnail size) to not display within the media library.

 Accounts for images that have no intermediate sizes
 in `wp_prepare_attachment_for_js()`.

 Adds test.

 Fixes #38965.
 Props joemcgill, clorith, mikeschroder.
 }}}

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


More information about the wp-trac mailing list