[wp-trac] [WordPress Trac] #17779: Add some casts in Custom_Image_Header

WordPress Trac wp-trac at lists.automattic.com
Mon Jun 13 08:36:08 UTC 2011


#17779: Add some casts in Custom_Image_Header
--------------------------+------------------
 Reporter:  xknown        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.2
Component:  Themes        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------

Comment (by nacin):

 Looking at the patch:

 wp_crop_image() can take a ID, so I think we should pass an int and let
 that function call get_attached_file(). Thoughts?

 Rest of the patch looks good.

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


More information about the wp-trac mailing list