Changeset 43042
- Timestamp:
- 04/30/2018 01:09:21 PM (7 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-comments-post.php
r42772 r43042 45 45 * 46 46 * @since 3.4.0 47 * @since 4.9.6 The `$cookies_consent` parameter was added. 47 48 * 48 49 * @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 commentercookies.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. 51 52 */ 52 53 do_action( 'set_comment_cookies', $comment, $user, $cookies_consent ); -
trunk/src/wp-includes/comment.php
r43012 r43042 541 541 * to recall previous comments by this commentator that are still held in moderation. 542 542 * 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. 545 548 * @param boolean $cookies_consent Optional. Comment author's consent to store cookies. Default true. 546 *547 * @since 3.4.0548 549 */ 549 550 function wp_set_comment_cookies( $comment, $user, $cookies_consent = true ) {
Note: See TracChangeset
for help on using the changeset viewer.