[wp-trac] [WordPress Trac] #17779: Add some casts in Custom_Image_Header
WordPress Trac
wp-trac at lists.automattic.com
Mon Jun 13 08:44:44 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 xknown):
Replying to [comment:4 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?
It seems okay to me, the proposed patch passes indeed an int to
wp_crop_image.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17779#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list