Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#15192 closed enhancement (fixed)

Introduce set_post_thumbnail()

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


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 5 years ago.

Download all attachments as: .zip

Change History (5)

#1 @nacin
5 years ago

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

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

5 years ago

#2 @sorich87
5 years ago

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

#3 @nacin
5 years ago

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

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

#4 @nacin
5 years ago

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

Note: See TracTickets for help on using tickets.