Comments: Update the inline docs following [42772].
See #43436 Built from https://develop.svn.wordpress.org/trunk@43042 git-svn-id: http://core.svn.wordpress.org/trunk@42871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -44,10 +44,11 @@ $cookies_consent = ( isset( $_POST['wp-comment-cookies-consent'] ) );
|
||||
* Perform other actions when comment cookies are set.
|
||||
*
|
||||
* @since 3.4.0
|
||||
* @since 4.9.6 The `$cookies_consent` parameter was added.
|
||||
*
|
||||
* @param WP_Comment $comment Comment object.
|
||||
* @param WP_User $user User object. The user may not exist.
|
||||
* @param boolean $cookies_consent Whether the user has opted-in commenter cookies.
|
||||
* @param WP_User $user Comment author's user object. The user may not exist.
|
||||
* @param boolean $cookies_consent Comment author's consent to store cookies.
|
||||
*/
|
||||
do_action( 'set_comment_cookies', $comment, $user, $cookies_consent );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user