[wp-trac] [WordPress Trac] #14712: the_post_thumbnail & get_the_post_thumnail different size options
WordPress Trac
wp-trac at lists.automattic.com
Fri Aug 27 08:04:54 UTC 2010
#14712: the_post_thumbnail & get_the_post_thumnail different size options
----------------------------------------------------+-----------------------
Reporter: patnz | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Post Thumbnails | Version: 3.0.1
Severity: normal | Resolution: invalid
Keywords: the_post_thumbnail post thumbnail size |
----------------------------------------------------+-----------------------
Changes (by nacin):
* status: new => closed
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
Note the function argument differences:
{{{
function the_post_thumbnail( $size = 'post-thumbnail', $attr = '' )
function get_the_post_thumbnail( $post_id = NULL, $size = 'post-
thumbnail', $attr = '' )
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14712#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list