[wp-trac] [WordPress Trac] #33468: Add image caption hook

WordPress Trac noreply at wordpress.org
Thu Aug 20 17:39:07 UTC 2015

#33468: Add image caption hook
 Reporter:  guillaumemolter  |       Owner:
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Media            |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:  template

Comment (by guillaumemolter):

 Replying to [comment:1 DrewAPicture]:
 > Something to consider is that captions are both output in the editor and
 on the front-end. When HTML support was added to captions a few (maybe
 more than a few, I don't remember) versions ago, it kind of introduced a
 new dynamic in terms of what would be considered valid not to break the
 editor and/or gallery shortcodes on display.
 > I would thing that any kind of filter added to the caption output would
 have to keep both front-end and editor use-cases in mind.
 > @guillaumemolter: Would you like to try your hand at
 Submitting a patch]?

 I most certainly will! Contributing to Core has been on my bucket list for
 quite a while now so this might be the perfect occasion!

Ticket URL: <https://core.trac.wordpress.org/ticket/33468#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list