From 08e3572b7c4cbe78f465e121da34515bcb6f1a13 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 4 May 2015 01:13:25 +0000 Subject: [PATCH] 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 --- wp-admin/includes/media.php | 8 ++++++++ wp-includes/version.php | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/wp-admin/includes/media.php b/wp-admin/includes/media.php index 75811962f9..086682088a 100644 --- a/wp-admin/includes/media.php +++ b/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]"; diff --git a/wp-includes/version.php b/wp-includes/version.php index c931b43985..794dfb907b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.3-alpha-32340'; +$wp_version = '4.3-alpha-32341'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.