Changeset 13242 for trunk/wp-includes/pluggable.php
- Timestamp:
- 02/20/2010 02:01:46 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/pluggable.php
r13231 r13242 970 970 $post = get_post($comment->comment_post_ID); 971 971 $user = get_userdata( $post->post_author ); 972 $current_user = wp_get_current_user();973 972 974 973 if ( $comment->user_id == $post->post_author ) return false; // The author moderated a comment on his own post
Note: See TracChangeset
for help on using the changeset viewer.