[wp-trac] [WordPress Trac] #17895: delete_post_thumbnail()
WordPress Trac
wp-trac at lists.automattic.com
Thu Sep 22 09:39:41 UTC 2011
#17895: delete_post_thumbnail()
--------------------------------------------------+-----------------------
Reporter: nacin | Owner:
Type: enhancement | Status: assigned
Priority: normal | Milestone: 3.3
Component: Post Thumbnails | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing dev-feedback |
--------------------------------------------------+-----------------------
Comment (by duck_):
Replying to [comment:4 CoenJacobs]:
> Still need to work through the admin-ajax branch function.
17895.diff. Changed it to return the return value of `delete_post_meta`.
I'm a bit unsure about returning false if there's no post, but returning
true if there's a post with no thumbnail. Seems to me that both cases
should return the same? Otherwise should be good :)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17895#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list