Changeset 43571 for trunk/src/wp-includes/feed-atom.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.php
r42343 r43571 52 52 while ( have_posts() ) : 53 53 the_post(); 54 ?>54 ?> 55 55 <entry> 56 56 <author> … … 58 58 <?php $author_url = get_the_author_meta( 'url' ); if ( ! empty( $author_url ) ) : ?> 59 59 <uri><?php the_author_meta( 'url' ); ?></uri> 60 <?php60 <?php 61 61 endif; 62 62 … … 67 67 */ 68 68 do_action( 'atom_author' ); 69 69 ?> 70 70 </author> 71 71 <title type="<?php html_type_rss(); ?>"><![CDATA[<?php the_title_rss(); ?>]]></title> … … 76 76 <?php the_category_rss( 'atom' ); ?> 77 77 <summary type="<?php html_type_rss(); ?>"><![CDATA[<?php the_excerpt_rss(); ?>]]></summary> 78 <?php if ( ! get_option( 'rss_use_excerpt' ) ) : ?>78 <?php if ( ! get_option( 'rss_use_excerpt' ) ) : ?> 79 79 <content type="<?php html_type_rss(); ?>" xml:base="<?php the_permalink_rss(); ?>"><![CDATA[<?php the_content_feed( 'atom' ); ?>]]></content> 80 <?php endif; ?>81 <?php82 atom_enclosure();83 /**84 * Fires at the end of each Atom feed item.85 *86 * @since 2.0.087 */88 do_action( 'atom_entry' );80 <?php endif; ?> 81 <?php 82 atom_enclosure(); 83 /** 84 * Fires at the end of each Atom feed item. 85 * 86 * @since 2.0.0 87 */ 88 do_action( 'atom_entry' ); 89 89 90 if ( get_comments_number() || comments_open() ) :91 ?>90 if ( get_comments_number() || comments_open() ) : 91 ?> 92 92 <link rel="replies" type="<?php bloginfo_rss( 'html_type' ); ?>" href="<?php the_permalink_rss(); ?>#comments" thr:count="<?php echo get_comments_number(); ?>"/> 93 93 <link rel="replies" type="application/atom+xml" href="<?php echo esc_url( get_post_comments_feed_link( 0, 'atom' ) ); ?>" thr:count="<?php echo get_comments_number(); ?>"/> 94 94 <thr:total><?php echo get_comments_number(); ?></thr:total> 95 <?php endif; ?>95 <?php endif; ?> 96 96 </entry> 97 97 <?php endwhile; ?>
Note: See TracChangeset
for help on using the changeset viewer.