Changeset 7918
- Timestamp:
- 05/12/08 16:14:55 (6 months ago)
- Files:
-
- branches/2.5/wp-includes/comment.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/2.5/wp-includes/comment.php
r7715 r7918 727 727 case 'approve': 728 728 $query = "UPDATE $wpdb->comments SET comment_approved='1' WHERE comment_ID='$comment_id' LIMIT 1"; 729 if ( get_option( 'comments_notify' ) == true ) 730 wp_notify_postauthor( $comment_id ); 729 731 break; 730 732 case 'spam':
