#20891 closed enhancement (fixed)
admin_post_thumbnail_html filter should receive the post ID
| Reported by: | helenyhou | Owned by: | markjaquith |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | Post Thumbnails | Version: | 3.4 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In [21173]: