Make WordPress Core

Opened 4 years ago

Last modified 23 months 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 2 years ago.

Download all attachments as: .zip

Change History (5)

#2 @desrosj
4 years ago

  • Keywords needs-patch added

2 years ago

#3 @mbelchev
2 years ago

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

#4 @swissspidy
23 months ago

How does Gutenberg fit into this?

Note: See TracTickets for help on using tickets.