[wp-trac] [WordPress Trac] #17895: set_post_thumbnail() should allow deletes too

WordPress Trac wp-trac at lists.automattic.com
Sun Jun 26 00:19:30 UTC 2011


#17895: set_post_thumbnail() should allow deletes too
-----------------------------+-----------------------------------
 Reporter:  nacin            |      Owner:
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Future Release
Component:  Post Thumbnails  |    Version:
 Severity:  normal           |   Keywords:  3.3-early needs-patch
-----------------------------+-----------------------------------
 set_post_thumbnail() should allow deletes too, by passing false or 0 as
 the new ID. Or we can add delete_post_thumbnail().

 The set-post-thumbnail admin-ajax branch will need a rework to support it.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17895>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list