[wp-trac] [WordPress Trac] #12235: Display caption with the_post_thumbnail

WordPress Trac noreply at wordpress.org
Wed Jun 29 16:00:24 UTC 2016


#12235: Display caption with the_post_thumbnail
---------------------------------------------+-----------------------
 Reporter:  hd-J                             |       Owner:  flixos90
     Type:  enhancement                      |      Status:  assigned
 Priority:  normal                           |   Milestone:  4.6
Component:  Post Thumbnails                  |     Version:  2.9
 Severity:  normal                           |  Resolution:
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+-----------------------

Comment (by joemcgill):

 [attachment:12235.6.diff] is a followup to [attachment:12235.5.diff] that
 actually removes the `wp_kses()` call from `the_post_thumbnail_caption()`
 and adds the new filter that was intended to be used in
 `the_post_thumbnail_caption()`.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/12235#comment:31>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list