Ticket #32619: 32619.6.patch
File 32619.6.patch, 629 bytes (added by , 10 years ago) |
---|
-
src/wp-includes/link-template.php
3621 3621 } elseif ( $id_or_email instanceof WP_Post ) { 3622 3622 // Post Object 3623 3623 $user = get_user_by( 'id', (int) $id_or_email->post_author ); 3624 } elseif ( $id_or_email instanceof WP_Comment ) {3624 } elseif ( $id_or_email instanceof WP_Comment || ( is_object( $id_or_email ) && isset( $id_or_email->comment_ID ) ) ) { 3625 3625 /** 3626 3626 * Filter the list of allowed comment types for retrieving avatars. 3627 3627 *