get-the-image icon indicating copy to clipboard operation
get-the-image copied to clipboard

Use wp_get_attachment_caption()

Open justintadlock opened this issue 7 years ago • 0 comments

When getting an attachment's caption, we should switch to using wp_get_attachment_caption() so that the core hooks fire. See: https://developer.wordpress.org/reference/functions/wp_get_attachment_caption/

Also, this would bump the minimum version of the plugin to WP 4.6.0.

justintadlock avatar Feb 28 '18 17:02 justintadlock