Changeset 43571 for trunk/src/wp-includes/feed-atom-comments.php
- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/feed-atom-comments.php
r42827 r43571 77 77 the_comment(); 78 78 $comment_post = $GLOBALS['post'] = get_post( $comment->comment_post_ID ); 79 ?>79 ?> 80 80 <entry> 81 81 <title> … … 91 91 printf( ent2ncr( __( 'By: %s' ) ), get_comment_author_rss() ); 92 92 } 93 93 ?> 94 94 </title> 95 95 <link rel="alternate" href="<?php comment_link(); ?>" type="<?php bloginfo_rss( 'html_type' ); ?>" /> … … 100 100 if ( get_comment_author_url() ) { 101 101 echo '<uri>' . get_comment_author_url() . '</uri>';} 102 ?>102 ?> 103 103 104 104 </author> … … 107 107 <updated><?php echo mysql2date( 'Y-m-d\TH:i:s\Z', get_comment_time( 'Y-m-d H:i:s', true, false ), false ); ?></updated> 108 108 <published><?php echo mysql2date( 'Y-m-d\TH:i:s\Z', get_comment_time( 'Y-m-d H:i:s', true, false ), false ); ?></published> 109 <?php if ( post_password_required( $comment_post ) ) : ?>109 <?php if ( post_password_required( $comment_post ) ) : ?> 110 110 <content type="html" xml:base="<?php comment_link(); ?>"><![CDATA[<?php echo get_the_password_form(); ?>]]></content> 111 111 <?php else : // post pass ?> … … 121 121 $parent_comment = get_comment( $comment->comment_parent ); 122 122 // The rel attribute below and the id tag above should be GUIDs, but WP doesn't create them for comments (unlike posts). Either way, it's more important that they both use the same system 123 ?>123 ?> 124 124 <thr:in-reply-to ref="<?php comment_guid( $parent_comment ); ?>" href="<?php echo get_comment_link( $parent_comment ); ?>" type="<?php bloginfo_rss( 'html_type' ); ?>" /> 125 <?php125 <?php 126 126 endif; 127 127 /** … … 136 136 ?> 137 137 </entry> 138 <?php138 <?php 139 139 endwhile; 140 140 endif;
Note: See TracChangeset
for help on using the changeset viewer.