diff -r 7b1b88e27a20 -r 48c4eec2b7e6 wp/wp-includes/feed-atom-comments.php --- a/wp/wp-includes/feed-atom-comments.php Thu Sep 29 08:06:27 2022 +0200 +++ b/wp/wp-includes/feed-atom-comments.php Fri Sep 05 18:40:08 2025 +0200 @@ -69,7 +69,10 @@ comment_post_ID ); + $comment_post = get_post( $comment->comment_post_ID ); + /** + * @global WP_Post $post Global post object. + */ $GLOBALS['post'] = $comment_post; ?> @@ -93,7 +96,8 @@ ' . get_comment_author_url() . '';} + echo '' . get_comment_author_url() . ''; + } ?> @@ -110,7 +114,7 @@ comment_parent ) : // This comment is top-level. + if ( '0' === $comment->comment_parent ) : // This comment is top-level. ?>