Opened 9 years ago
Closed 9 years ago
#36443 closed enhancement (fixed)
admin_post_thumbnail_html filter should receive the thumbnail ID
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.6 | Priority: | normal |
Severity: | normal | Version: | 3.4 |
Component: | Post Thumbnails | Keywords: | |
Focuses: | Cc: |
Description
The admin_post_thumbnail_html
filter isn't as useful (when called via ajax, or otherwise) without context, e.g. changing the Set/Remove text based on whether a thumbnail is even set. Since _wp_post_thumbnail_html
has always required a $thumbnail_id
, the admin_post_thumbnail_html
filter probably should as well.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Add
$thumbnail_id
toadmin_post_thumbnail_html
filter