Ticket #8826: wp-app-hooks.diff
| File wp-app-hooks.diff, 1.5 KB (added by znarfor, 3 years ago) |
|---|
-
wp-app.php
1090 1090 $prev_page = ($page - 1) < 1 ? NULL : $page - 1; 1091 1091 $last_page = ((int)$last_page == 1 || (int)$last_page == 0) ? NULL : (int) $last_page; 1092 1092 $self_page = $page > 1 ? $page : NULL; 1093 ?><feed xmlns="<?php echo $this->ATOM_NS ?>" xmlns:app="<?php echo $this->ATOMPUB_NS ?>" xml:lang="<?php echo get_option('rss_language'); ?>" >1093 ?><feed xmlns="<?php echo $this->ATOM_NS ?>" xmlns:app="<?php echo $this->ATOMPUB_NS ?>" xml:lang="<?php echo get_option('rss_language'); ?>" <?php do_action('atom_ns'); ?>> 1094 1094 <id><?php $this->the_entries_url() ?></id> 1095 1095 <updated><?php echo mysql2date('Y-m-d\TH:i:s\Z', get_lastpostmodified('GMT')); ?></updated> 1096 1096 <title type="text"><?php bloginfo_rss('name') ?></title> … … 1106 1106 <link rel="self" type="<?php echo $this->ATOM_CONTENT_TYPE ?>" href="<?php $this->the_entries_url($self_page) ?>" /> 1107 1107 <rights type="text">Copyright <?php echo mysql2date('Y', get_lastpostdate('blog')); ?></rights> 1108 1108 <?php the_generator( 'atom' ); ?> 1109 <?php do_action('atom_head'); ?> 1109 1110 <?php if ( have_posts() ) { 1110 1111 while ( have_posts() ) { 1111 1112 the_post(); … … 1194 1195 <?php } ?> 1195 1196 <?php list($content_type, $content) = prep_atom_text_construct(get_the_excerpt()); ?> 1196 1197 <summary type="<?php echo $content_type ?>"><?php echo $content ?></summary> 1198 <?php do_action('atom_entry'); ?> 1197 1199 </entry> 1198 1200 <?php } 1199 1201
