Changeset 11057 for trunk/wp-includes/pluggable.php
- Timestamp:
- 04/22/2009 08:55:04 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/pluggable.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/pluggable.php
r11033 r11057 939 939 $post = get_post($comment->comment_post_ID); 940 940 $user = get_userdata( $post->post_author ); 941 $current_user = wp_get_current_user(); 942 943 if ( $current_user->ID == $user->ID ) return false; // The author moderated a comment on his own post 941 944 942 945 if ('' == $user->user_email) return false; // If there's no email to send the comment to
Note: See TracChangeset
for help on using the changeset viewer.