Changeset 47917 for branches/5.2/src/wp-includes/comment.php
- Timestamp:
- 06/06/2020 09:58:55 AM (5 years ago)
- Location:
- branches/5.2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.2
- Property svn:mergeinfo changed
/trunk merged: 47887,47889
- Property svn:mergeinfo changed
-
branches/5.2/src/wp-includes/comment.php
r44972 r47917 1809 1809 1810 1810 if ( $comment && hash_equals( $_GET['moderation-hash'], wp_hash( $comment->comment_date_gmt ) ) ) { 1811 $commenter_email = $comment->comment_author_email; 1811 // The comment will only be viewable by the comment author for 1 minute. 1812 $comment_preview_expires = strtotime( $comment->comment_date_gmt . '+1 minute' ); 1813 1814 if ( time() < $comment_preview_expires ) { 1815 $commenter_email = $comment->comment_author_email; 1816 } 1812 1817 } 1813 1818 }
Note: See TracChangeset
for help on using the changeset viewer.