From e41a0998e696135ba6b9c4dafa13469d5f8072a5 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sat, 13 Feb 2016 19:15:28 +0000 Subject: [PATCH] Docs: Add an internal note to the DocBlock for `comment_form_title()` explaining restoration of the `$comment` global. See [36512]. See #35624. Built from https://develop.svn.wordpress.org/trunk@36527 git-svn-id: http://core.svn.wordpress.org/trunk@36494 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/comment-template.php | 5 +++++ wp-includes/version.php | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/wp-includes/comment-template.php b/wp-includes/comment-template.php index 998a20e80f..4738dec797 100644 --- a/wp-includes/comment-template.php +++ b/wp-includes/comment-template.php @@ -1806,8 +1806,13 @@ function comment_id_fields( $id = 0 ) { * * Only affects users with JavaScript disabled. * + * @internal The $comment global must be present to allow template tags access to the current + * comment. See https://core.trac.wordpress.org/changeset/36512. + * * @since 2.7.0 * + * @global WP_Comment $comment Current comment. + * * @param string $noreplytext Optional. Text to display when not replying to a comment. * Default false. * @param string $replytext Optional. Text to display when replying to a comment. diff --git a/wp-includes/version.php b/wp-includes/version.php index e4a672fb4f..08e1a08ab2 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-alpha-36526'; +$wp_version = '4.5-alpha-36527'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.