Make WordPress Core

Opened 16 months ago

Closed 16 months ago

Last modified 11 months ago

#22885 closed defect (bug) (fixed)

Correct the PHPDOC for the_post_thumbnail

Reported by: georgestephanis Owned by: markjaquith
Milestone: 3.6 Priority: normal
Severity: normal Version: 3.5
Component: Inline Docs Keywords: has-patch commit needs-codex
Focuses: Cc:


It currently says a string is an int.

Let's call a duck_ a duck_.

Attachments (2)

22885.diff (740 bytes) - added by georgestephanis 16 months ago.
22885.2.diff (746 bytes) - added by georgestephanis 16 months ago.
Adding in Array option for $size

Download all attachments as: .zip

Change History (8)

georgestephanis16 months ago

comment:1 SergeyBiryukov16 months ago

  • Component changed from General to Inline Docs
  • Milestone changed from Awaiting Review to 3.6
  • Version changed from trunk to 3.5

$size can also be an array.

comment:2 helen16 months ago

  • Keywords needs-patch added; has-patch removed

georgestephanis16 months ago

Adding in Array option for $size

comment:3 georgestephanis16 months ago

  • Keywords has-patch added; needs-patch removed

Added in array option for $size.

comment:4 SergeyBiryukov16 months ago

  • Keywords commit added

comment:5 markjaquith16 months ago

  • Owner set to markjaquith
  • Resolution set to fixed
  • Status changed from new to closed

In 23227:

Fix the PHPDoc for the_post_thumbnail(). props georgestephanis. fixes #22885

comment:6 DrewAPicture11 months ago

  • Keywords needs-codex added

$size param in the_post_thumbnail() can accept either a string or array.

Note: See TracTickets for help on using tickets.