[wp-trac] [WordPress Trac] #22738: 3.5 Media: Correct display of dimensions for large-size images in size dropdown

WordPress Trac noreply at wordpress.org
Tue Dec 4 22:33:03 UTC 2012


#22738: 3.5 Media: Correct display of dimensions for large-size images in size
dropdown
--------------------------+------------------------------
 Reporter:  jond3r        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------

Comment (by jond3r):

 Well, it's starting to get late for me, but one reason is_admin() is put
 there might be that custom sizes should not be changed on the front-end,
 as this might confuse theme editors, who use for example
 wp_get_attachment_image() (which eventually calls image_downsize()), and
 get a resized image in return. On the other hand large-size images
 probably get resized, which would be equally confusing.

 On the other hand, in our case is_admin() is true, and it was in 3.4 so
 nothing has changed there.

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


More information about the wp-trac mailing list