Make WordPress Core

Opened 12 years ago

Closed 11 years ago

#12676 closed defect (bug) (invalid)

Is 'post-thumbnail' the correct default for $size?

Reported by: mikeschinkel Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: General Keywords:
Focuses: Cc:


I've noticed in http://core.svn.wordpress.org/trunk/wp-includes/post-thumbnail-template.php that $size defaults to 'post-thumbnail' instead of 'thumbnail.' I was pretty sure this is wrong and am now even more sure since seeing this:

Change History (2)

#1 @mikeschinkel
12 years ago

  • Cc mikeschinkel@… added

#2 @dd32
11 years ago

  • Milestone Unassigned deleted
  • Resolution set to invalid
  • Status changed from new to closed

'thumbnail' is a generic thumbnail that abides by the Media settings.

'post-thumbnail' is a size-specific thumbnail, created for Post-thumbnails in the case where the theme may have a different size in mind (ie. Twentyten header, or i might have a 100x250px post thumbnail for example).

Note: See TracTickets for help on using tickets.