WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 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:

Description

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:
http://core.trac.wordpress.org/ticket/12644#comment:4

Change History (2)

comment:1 mikeschinkel4 years ago

  • Cc mikeschinkel@… added

comment:2 dd324 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.