Changeset 32692 for trunk/src/wp-includes/pluggable.php
- Timestamp:
- 06/04/2015 05:28:07 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pluggable.php
r32614 r32692 1551 1551 // Send to the administration and to the post author if the author can modify the comment. 1552 1552 $emails = array( get_option( 'admin_email' ) ); 1553 if ( user_can( $user->ID, 'edit_comment', $comment_id ) && ! empty( $user->user_email ) ) {1553 if ( $user && user_can( $user->ID, 'edit_comment', $comment_id ) && ! empty( $user->user_email ) ) { 1554 1554 if ( 0 !== strcasecmp( $user->user_email, get_option( 'admin_email' ) ) ) 1555 1555 $emails[] = $user->user_email;
Note: See TracChangeset
for help on using the changeset viewer.