[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:28:02 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                                   |
-------------------------------------------------+-------------------------

Comment (by mikeschroder):

 In [changeset:"39399"]:
 {{{
 #!CommitTicketReference repository="" revision="39399"
 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.

 Merges [39396] to the 4.7 branch.

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

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


More information about the wp-trac mailing list