Changeset 10042
- Timestamp:
- 12/04/2008 08:26:05 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment.php
r9808 r10042 422 422 } 423 423 424 if ( $userdata&& ( $user_id == $post_author || $user->has_cap('moderate_comments') ) ) {424 if ( isset($userdata) && ( $user_id == $post_author || $user->has_cap('moderate_comments') ) ) { 425 425 // The author and the admins get respect. 426 426 $approved = 1;
Note: See TracChangeset
for help on using the changeset viewer.