[wp-trac] [WordPress Trac] #20891: admin_post_thumbnail_html filter should receive the post ID
WordPress Trac
wp-trac at lists.automattic.com
Fri Jun 8 16:12:03 UTC 2012
#20891: admin_post_thumbnail_html filter should receive the post ID
-----------------------------+-----------------------------
Reporter: helenyhou | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Post Thumbnails | Version: 3.4
Severity: normal | Keywords: has-patch
-----------------------------+-----------------------------
The `admin_post_thumbnail_html` filter isn't as useful when called via
ajax without some context, e.g. changing the Set/Remove text based on a
post type. Now that `_wp_post_thumbnail_html` can receive the $post_id,
the filter should as well.
Related: #20003
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20891>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list