[wp-trac] [WordPress Trac] #14906: post-thumbnail is not a valid thumbnail size

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 20 09:51:15 UTC 2010


#14906: post-thumbnail is not a valid thumbnail size
--------------------------+-------------------------------------------------
 Reporter:  oncletom      |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.0.1          
 Severity:  normal        |    Keywords:  thumbnail      
--------------------------+-------------------------------------------------
 If I refer to the documentation or the source code, if I pass no argument
 to `the_post_thumbnail`, we are supposed to have a thumbnail.

 However, I always get the full size picture (which is pretty bad).

 `the_post_thumbnail('post-thumbnail')` gives the full size.
 `the_post_thumbnail()` gives the full size.
 `the_post_thumbnail('thumbnail')` gives the thumbnail size.

 I guess there is a problem there. The default value should be
 ''thumbnail'' and not '''''post-'''thumbnail''.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14906>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list