Changeset 21506 for trunk/wp-includes/comment.php
- Timestamp:
- 08/14/2012 07:07:56 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment.php
r21413 r21506 656 656 } 657 657 658 if ( $user && ( $user_id == $post_author || $user->has_cap('moderate_comments') ) ) {658 if ( isset( $user ) && ( $user_id == $post_author || $user->has_cap( 'moderate_comments' ) ) ) { 659 659 // The author and the admins get respect. 660 660 $approved = 1;
Note: See TracChangeset
for help on using the changeset viewer.