[wp-trac] [WordPress Trac] #22587: Cast image sizes to array before looping

WordPress Trac noreply at wordpress.org
Sun Nov 25 23:53:43 UTC 2012


#22587: Cast image sizes to array before looping
------------------------------+------------------------------
 Reporter:  griffinjt         |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Warnings/Notices  |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  has-patch close   |
------------------------------+------------------------------
Changes (by scribu):

 * keywords:  has-patch => has-patch close


Comment:

 I don't think that's a good reason at all. You can just use
 '__return_empty_array'.

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


More information about the wp-trac mailing list