Changeset 47918 for branches/5.1/src/wp-comments-post.php
- Timestamp:
- 06/06/2020 10:07:01 AM (4 years ago)
- Location:
- branches/5.1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.1
- Property svn:mergeinfo changed
/trunk merged: 47887,47889
- Property svn:mergeinfo changed
-
branches/5.1/src/wp-comments-post.php
r44659 r47918 57 57 $location = empty( $_POST['redirect_to'] ) ? get_comment_link( $comment ) : $_POST['redirect_to'] . '#comment-' . $comment->comment_ID; 58 58 59 // Add specific query arguments to display the awaiting moderation message.60 if ( 'unapproved' === wp_get_comment_status( $comment ) && ! empty( $comment->comment_author_email ) ) {59 // If user didn't consent to cookies, add specific query arguments to display the awaiting moderation message. 60 if ( ! $cookies_consent && 'unapproved' === wp_get_comment_status( $comment ) && ! empty( $comment->comment_author_email ) ) { 61 61 $location = add_query_arg( 62 62 array(
Note: See TracChangeset
for help on using the changeset viewer.