From eea4111667e3986d00f60822e55adc1d0fd7c306 Mon Sep 17 00:00:00 2001 From: Drew Jaynes <drewapicture@git.wordpress.org> Date: Mon, 4 May 2015 01:12:12 +0000 Subject: [PATCH] Add a missing DocBlock for `wp_caption_input_textarea()`. See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@32341 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/media.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/wp-admin/includes/media.php b/src/wp-admin/includes/media.php index 75811962f9..086682088a 100644 --- a/src/wp-admin/includes/media.php +++ b/src/wp-admin/includes/media.php @@ -1050,6 +1050,14 @@ function image_link_input_fields($post, $url_type = '') { "; } +/** + * Output a textarea element for inputting an attachment caption. + * + * @since 3.4.0 + * + * @param WP_Post $edit_post Attachment WP_Post object. + * @return string HTML markup for the textarea element. + */ function wp_caption_input_textarea($edit_post) { // Post data is already escaped. $name = "attachments[{$edit_post->ID}][post_excerpt]";