Changeset 25531
- Timestamp:
- 09/20/2013 10:49:36 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/feed-atom.php
r22431 r25531 15 15 xml:lang="<?php bloginfo_rss( 'language' ); ?>" 16 16 xml:base="<?php bloginfo_rss('url') ?>/wp-atom.php" 17 <?php do_action('atom_ns'); ?> 17 <?php 18 /** 19 * Fires at end of the Atom feed root to add namespaces. 20 * 21 * @since 2.0.0 22 */ 23 do_action( 'atom_ns' ); 24 ?> 18 25 > 19 26 <title type="text"><?php bloginfo_rss('name'); wp_title_rss(); ?></title> … … 26 33 <link rel="self" type="application/atom+xml" href="<?php self_link(); ?>" /> 27 34 28 <?php do_action('atom_head'); ?> 29 <?php while (have_posts()) : the_post(); ?> 35 <?php 36 /** 37 * Fires just before the first Atom feed entry. 38 * 39 * @since 2.0.0 40 */ 41 do_action( 'atom_head' ); 42 43 while ( have_posts() ) : the_post(); 44 ?> 30 45 <entry> 31 46 <author> … … 34 49 <uri><?php the_author_meta('url')?></uri> 35 50 <?php endif; 36 do_action('atom_author'); ?> 51 52 /** 53 * Fires at the end of each Atom feed author entry. 54 * 55 * @since 3.2.0 56 */ 57 do_action( 'atom_author' ); 58 ?> 37 59 </author> 38 60 <title type="<?php html_type_rss(); ?>"><![CDATA[<?php the_title_rss() ?>]]></title> … … 46 68 <content type="<?php html_type_rss(); ?>" xml:base="<?php the_permalink_rss() ?>"><![CDATA[<?php the_content_feed('atom') ?>]]></content> 47 69 <?php endif; ?> 48 <?php atom_enclosure(); ?> 49 <?php do_action('atom_entry'); ?> 70 <?php atom_enclosure(); 71 /** 72 * Fires at the end of each Atom feed item. 73 * 74 * @since 2.0.0 75 */ 76 do_action( 'atom_entry' ); 77 ?> 50 78 <link rel="replies" type="<?php bloginfo_rss('html_type'); ?>" href="<?php the_permalink_rss() ?>#comments" thr:count="<?php echo get_comments_number()?>"/> 51 79 <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()?>"/>
Note: See TracChangeset
for help on using the changeset viewer.