Changeset 47918 for branches/5.1/src/wp-includes/comment.php
- Timestamp:
- 06/06/2020 10:07:01 AM (5 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-includes/comment.php
r44843 r47918 1786 1786 1787 1787 if ( $comment && hash_equals( $_GET['moderation-hash'], wp_hash( $comment->comment_date_gmt ) ) ) { 1788 $commenter_email = $comment->comment_author_email; 1788 // The comment will only be viewable by the comment author for 1 minute. 1789 $comment_preview_expires = strtotime( $comment->comment_date_gmt . '+1 minute' ); 1790 1791 if ( time() < $comment_preview_expires ) { 1792 $commenter_email = $comment->comment_author_email; 1793 } 1789 1794 } 1790 1795 }
Note: See TracChangeset
for help on using the changeset viewer.