Changeset 47888 for branches/5.4/src/wp-includes/comment.php
- Timestamp:
- 06/02/2020 08:24:59 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.4/src/wp-includes/comment.php
r47397 r47888 1838 1838 1839 1839 if ( $comment && hash_equals( $_GET['moderation-hash'], wp_hash( $comment->comment_date_gmt ) ) ) { 1840 $commenter_email = $comment->comment_author_email; 1840 // The comment will only be viewable by the comment author for 1 minute. 1841 $comment_preview_expires = strtotime( $comment->comment_date_gmt . '+1 minute' ); 1842 1843 if ( time() < $comment_preview_expires ) { 1844 $commenter_email = $comment->comment_author_email; 1845 } 1841 1846 } 1842 1847 }
Note: See TracChangeset
for help on using the changeset viewer.