Ticket #32619: 32619.patch
File 32619.patch, 543 bytes (added by , 9 years ago) |
---|
-
src/wp-includes/link-template.php
3604 3604 $email_hash = ''; 3605 3605 $user = $email = false; 3606 3606 3607 if ( is_object( $id_or_email ) && isset( $id_or_email->comment_ID ) ) { 3608 $id_or_email = get_comment( $id_or_email ); 3609 } 3610 3607 3611 // Process the user identifier. 3608 3612 if ( is_numeric( $id_or_email ) ) { 3609 3613 $user = get_user_by( 'id', absint( $id_or_email ) );