Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#15192 closed enhancement (fixed)

Introduce set_post_thumbnail()

Reported by: scribu's profile scribu Owned by: sorich87's profile sorich87
Milestone: 3.1 Priority: low
Severity: normal Version:
Component: Post Thumbnails Keywords: has-patch
Focuses: Cc:

Description

We don't have a set_post_thumbnail() function yet.

It's currently done using add_post_meta() directly.

Attachments (1)

15192.diff (2.9 KB) - added by sorich87 14 years ago.

Download all attachments as: .zip

Change History (5)

#1 @nacin
14 years ago

  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to 3.1

Punt this in a week if it isn't closed.

@sorich87
14 years ago

#2 @sorich87
14 years ago

  • Keywords has-patch added; needs-patch removed
  • Owner set to sorich87
  • Status changed from new to accepted

#3 @nacin
14 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed

(In [16388]) set_post_thumbnail(). fixes #15192.

#4 @nacin
14 years ago

(In [16389]) Sanity cast. see #15192.

Note: See TracTickets for help on using tickets.