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

WordPress Trac noreply at wordpress.org
Thu Aug 20 17:31:55 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 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
 [https://make.wordpress.org/core/handbook/tutorials/trac/submitting-a-patch/
 Submitting a patch]?

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


More information about the wp-trac mailing list