#20891 closed enhancement (fixed)
admin_post_thumbnail_html filter should receive the post ID
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 3.5 | Priority: | normal |
| Severity: | normal | Version: | 3.4 |
| Component: | Post Thumbnails | Keywords: | has-patch |
| Focuses: | Cc: |
Description
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
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
In [21173]: