Changeset 34545
- Timestamp:
- 09/25/2015 02:42:48 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment-functions.php
r34537 r34545 1738 1738 1739 1739 // Only send notifications for approved comments. 1740 if ( 'spam' === $comment->comment_approved || ! $comment->comment_approved ) {1740 if ( ! isset( $comment->comment_approved ) || 'spam' === $comment->comment_approved || ! $comment->comment_approved ) { 1741 1741 return false; 1742 1742 }
Note: See TracChangeset
for help on using the changeset viewer.