[wp-trac] [WordPress Trac] #36443: admin_post_thumbnail_html filter should receive the thumbnail ID

WordPress Trac noreply at wordpress.org
Thu Apr 7 15:49:57 UTC 2016


#36443: admin_post_thumbnail_html filter should receive the thumbnail ID
-----------------------------+-----------------------------
 Reporter:  johnjamesjacoby  |      Owner:
     Type:  enhancement      |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Post Thumbnails  |    Version:  3.4
 Severity:  normal           |   Keywords:  2nd-opinion
  Focuses:                   |
-----------------------------+-----------------------------
 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.

 Related: #20003, #20891.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36443>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list