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

WordPress Trac noreply at wordpress.org
Mon Nov 26 03:29:06 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:  3.3
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |
------------------------------+------------------------------
Changes (by nacin):

 * version:  trunk => 3.3


Comment:

 image_size_names_choose was introduced in 3.3.

 Replying to [comment:9 griffinjt]:
 > nacin - thanks for your detailed explanation. I really do appreciate you
 taking the time to educate me so I can hopefully contribute with better
 and more thought out patches in the future! :-)

 I think this was a great patch and proposal, actually, even if I don't
 currently think it needs to go into core. I've thrown proposals against
 the wall many times to see if they stick. Sometimes, they are half-baked
 or stupid. Other times, someone else can find something good in them.
 Never hurts to propose something. I am simply here trying to walk through
 my current array-casting thought process.

 > I just like going down all the rabbit holes to make sure that things are
 nearly unbreakable

 We like doing that too. Glad to see you on our side. :-)

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


More information about the wp-trac mailing list