Make WordPress Core

Changeset 36527


Ignore:
Timestamp:
02/13/2016 07:14:01 PM (9 years ago)
Author:
DrewAPicture
Message:

Docs: Add an internal note to the DocBlock for comment_form_title() explaining restoration of the $comment global.

See [36512]. See #35624.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/comment-template.php

    r36512 r36527  
    18071807 * Only affects users with JavaScript disabled.
    18081808 *
     1809 * @internal The $comment global must be present to allow template tags access to the current
     1810 *           comment. See https://core.trac.wordpress.org/changeset/36512.
     1811 *
    18091812 * @since 2.7.0
     1813 *
     1814 * @global WP_Comment $comment Current comment.
    18101815 *
    18111816 * @param string $noreplytext  Optional. Text to display when not replying to a comment.
Note: See TracChangeset for help on using the changeset viewer.