[wp-trac] [WordPress Trac] #22100: Treat built-in image sizes the same as custom image sizes

WordPress Trac noreply at wordpress.org
Thu Dec 20 14:44:29 UTC 2012


#22100: Treat built-in image sizes the same as custom image sizes
-------------------------+-----------------------------
 Reporter:  scribu       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  Media        |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+-----------------------------
Changes (by anatolbroder):

 * cc: anatol@… (added)


Comment:

 Replying to [comment:27 markoheijnen]:
 > In tickets #23009 and #23019 was brought up that crop isn't always a
 boolean. This isn't a big thing but would be awesome that this is also
 taken care of in this ticket.

 Not only the crop but height and width have a not appropriate type too.
 Just write ''(int)'' or ''(bool)'' before the ''get_option''. Thanks.

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


More information about the wp-trac mailing list