Changeset 11387
- Timestamp:
- 05/18/2009 06:36:04 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/pluggable.php
r11204 r11387 953 953 $user = get_userdata( $post->post_author ); 954 954 $current_user = wp_get_current_user(); 955 956 if ( $comment->user_id == $post->post_author ) return false; // The author moderated a comment on his own post 955 957 956 if ( $current_user->ID == $user->ID ) return false; // The author moderated a comment on his own post957 958 958 if ('' == $user->user_email) return false; // If there's no email to send the comment to 959 959
Note: See TracChangeset
for help on using the changeset viewer.