[wp-trac] [WordPress Trac] #14400: get_the_post_thumbnail() calling wp_get_attachment_image() with a non existant argument
WordPress Trac
wp-trac at lists.automattic.com
Fri Jul 23 15:54:34 UTC 2010
#14400: get_the_post_thumbnail() calling wp_get_attachment_image() with a non
existant argument
-------------------------+--------------------------------------------------
Reporter: wjm | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 3.0
Severity: trivial | Keywords: has-patch
-------------------------+--------------------------------------------------
get_the_post_thumbnail() calls wp_get_attachment_image() with a 4th non-
existant $attr argument.
I am not sure whethere $attr should be removed from
get_the_post_thumbnail() as it is only used in the return filter (maybe if
we remove it we will loose backward compatibility)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14400>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list