[wp-trac] [WordPress Trac] #17626: image_get_intermediate_size() may return wrong thumbnail size

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 28 20:09:56 UTC 2012


#17626: image_get_intermediate_size() may return wrong thumbnail size
-------------------------------------+------------------
 Reporter:  chipbennett              |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  3.4
Component:  Media                    |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+------------------

Comment (by chipbennett):

 Replying to [comment:10 scribu]:
 > One question: in _compare_imagedata_sizes(), why is strnatcmp() used to
 compare the dimensions (which are just numbers)?

 Not sure? Probably because it worked, and I wasn't aware of a better
 method? :) I can change it though. Suggestions?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17626#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list