Changes from tags/2.9.1/wp-app.php at r12730 to trunk/wp-app.php at r12730
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-app.php
r12730 r12730 372 372 $this->auth_required( __( 'Sorry, you do not have the right to access this blog.' ) ); 373 373 374 $home = esc_attr(get_bloginfo_rss(' home'));374 $home = esc_attr(get_bloginfo_rss('url')); 375 375 376 376 $categories = ""; 377 $cats = get_categories( "hierarchical=0&hide_empty=0");377 $cats = get_categories(array('hierarchical' => 0, 'hide_empty' => 0)); 378 378 foreach ((array) $cats as $cat) { 379 379 $categories .= " <category term=\"" . esc_attr($cat->name) . "\" />\n"; … … 885 885 * @since 2.2.0 886 886 * 887 * @param mixed $deprecated Optional, not used.887 * @param mixed $deprecated Not used. 888 888 * @return string 889 889 */ 890 890 function get_categories_url($deprecated = '') { 891 if ( !empty( $deprecated ) ) 892 _deprecated_argument( __FUNCTION__, '2.5' ); 891 893 return $this->app_base . $this->CATEGORIES_PATH; 892 894 } … … 1093 1095 $last_page = ((int)$last_page == 1 || (int)$last_page == 0) ? NULL : (int) $last_page; 1094 1096 $self_page = $page > 1 ? $page : NULL; 1095 ?><feed xmlns="<?php echo $this->ATOM_NS ?>" xmlns:app="<?php echo $this->ATOMPUB_NS ?>" xml:lang="<?php echo get_option('rss_language'); ?>" >1097 ?><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('app_ns'); ?> > 1096 1098 <id><?php $this->the_entries_url() ?></id> 1097 1099 <updated><?php echo mysql2date('Y-m-d\TH:i:s\Z', get_lastpostmodified('GMT'), false); ?></updated> … … 1109 1111 <rights type="text">Copyright <?php echo date('Y'); ?></rights> 1110 1112 <?php the_generator( 'atom' ); ?> 1113 <?php do_action('app_head'); ?> 1111 1114 <?php if ( have_posts() ) { 1112 1115 while ( have_posts() ) { … … 1196 1199 <?php list($content_type, $content) = prep_atom_text_construct(get_the_excerpt()); ?> 1197 1200 <summary type="<?php echo $content_type ?>"><?php echo $content ?></summary> 1201 <?php do_action('app_entry'); ?> 1198 1202 </entry> 1199 1203 <?php }
Note: See TracChangeset
for help on using the changeset viewer.