WordPress.org

Make WordPress Core

Opened 2 years ago

Last modified 7 weeks 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:

Description

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 8 weeks ago.

Download all attachments as: .zip

Change History (5)

#2 @desrosj
23 months ago

  • Keywords needs-patch added

@mbelchev
8 weeks ago

#3 @mbelchev
8 weeks ago

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

#4 @swissspidy
7 weeks ago

How does Gutenberg fit into this?

Note: See TracTickets for help on using tickets.