[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
Wed Dec 5 15:38:21 UTC 2012


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

Comment (by nacin):

 Replying to [comment:9 jond3r]:
 > I would challenge the statement that is_admin() is true on the front-end
 in 3.4, but I might be missing something.

 Say you had a theme that implemented an editor (with media insertion) on
 the frontend. In 3.4, wp-admin/media-upload.php loaded up in an iframe, so
 the is_admin() check would be true when constraining.

 Try P2 with the patch. Large size images won't be constrained.

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


More information about the wp-trac mailing list