Make WordPress Core

Changeset 43042


Ignore:
Timestamp:
04/30/2018 01:09:21 PM (7 years ago)
Author:
johnbillion
Message:

Comments: Update the inline docs following [42772].

See #43436

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-comments-post.php

    r42772 r43042  
    4545 *
    4646 * @since 3.4.0
     47 * @since 4.9.6 The `$cookies_consent` parameter was added.
    4748 *
    4849 * @param WP_Comment $comment         Comment object.
    49  * @param WP_User    $user            User object. The user may not exist.
    50  * @param boolean    $cookies_consent Whether the user has opted-in commenter cookies.
     50 * @param WP_User    $user            Comment author's user object. The user may not exist.
     51 * @param boolean    $cookies_consent Comment author's consent to store cookies.
    5152 */
    5253do_action( 'set_comment_cookies', $comment, $user, $cookies_consent );
  • trunk/src/wp-includes/comment.php

    r43012 r43042  
    541541 * to recall previous comments by this commentator that are still held in moderation.
    542542 *
    543  * @param WP_Comment $comment Comment object.
    544  * @param object     $user    Comment author's object.
     543 * @since 3.4.0
     544 * @since 4.9.6 The `$cookies_consent` parameter was added.
     545 *
     546 * @param WP_Comment $comment         Comment object.
     547 * @param WP_User    $user            Comment author's user object. The user may not exist.
    545548 * @param boolean    $cookies_consent Optional. Comment author's consent to store cookies. Default true.
    546  *
    547  * @since 3.4.0
    548549 */
    549550function wp_set_comment_cookies( $comment, $user, $cookies_consent = true ) {
Note: See TracChangeset for help on using the changeset viewer.