Add a missing DocBlock for wp_caption_input_textarea().
See #32246. Built from https://develop.svn.wordpress.org/trunk@32341 git-svn-id: http://core.svn.wordpress.org/trunk@32312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -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]";
|
||||
|
||||
Reference in New Issue
Block a user