Make WordPress Core

Opened 5 years ago

Last modified 3 years ago

#38100 new feature request

Gallery Caption Filter

Reported by: darrenshea Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.6.1
Component: Gallery Keywords: has-patch needs-testing
Focuses: Cc:


In media.php on line 1767: https://core.trac.wordpress.org/browser/tags/4.6.1/src/wp-includes/media.php#L1767 there is no way to filter a gallery's caption. A filter here would be really helpful to include attachment meta data within a gallery's caption.

Attachments (1)

38100.diff (1.2 KB) - added by mbelchev 3 years ago.

Download all attachments as: .zip

Change History (5)

#2 @desrosj
5 years ago

  • Keywords needs-patch added

3 years ago

#3 @mbelchev
3 years ago

  • Keywords has-patch needs-testing added; needs-patch removed

#4 @swissspidy
3 years ago

How does Gutenberg fit into this?

Note: See TracTickets for help on using tickets.