Changeset 26000
- Timestamp:
- 11/02/2013 12:19:43 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pluggable.php
r25899 r26000 1646 1646 return false; 1647 1647 1648 if ( ! empty($id_or_email->user_id) ) {1648 if ( ! empty( $id_or_email->user_id ) ) { 1649 1649 $id = (int) $id_or_email->user_id; 1650 1650 $user = get_userdata($id); 1651 if ( $user )1651 if ( $user ) 1652 1652 $email = $user->user_email; 1653 } elseif ( !empty($id_or_email->comment_author_email) ) { 1653 } 1654 1655 if ( ! $email && ! empty( $id_or_email->comment_author_email ) ) 1654 1656 $email = $id_or_email->comment_author_email; 1655 }1656 1657 } else { 1657 1658 $email = $id_or_email;
Note: See TracChangeset
for help on using the changeset viewer.