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
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user