Changeset 44659 for trunk/src/wp-comments-post.php
- Timestamp:
- 01/21/2019 01:33:50 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-comments-post.php
r43571 r44659 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 ) ) { 61 $location = add_query_arg( 62 array( 63 'unapproved' => $comment->comment_ID, 64 'moderation-hash' => wp_hash( $comment->comment_date_gmt ), 65 ), 66 $location 67 ); 68 } 69 59 70 /** 60 71 * Filters the location URI to send the commenter after posting.
Note: See TracChangeset
for help on using the changeset viewer.