[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 09:11:02 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 jond3r):

 Replying to [comment:8 nacin]:

 > I refreshed it to match our coding standards (if you use braces for a
 control statement, use them throughout). See [attachment:22738.2.diff].

 Ok, I actually did go to some lengths to try to comply, by doing
 "backwards comparison" in the if-statement, which I normally don't do.

 >
 > The only issue is that due to #12146, inserting Large size on the
 frontend won't be constrained.

 I think it will be, Large size is not affected by is_admin().

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


More information about the wp-trac mailing list