Changeset 13113
- Timestamp:
- 02/13/2010 04:45:16 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-app.php
r13054 r13113 1097 1097 <link rel="self" type="<?php echo $this->ATOM_CONTENT_TYPE ?>" href="<?php $this->the_entries_url($self_page) ?>" /> 1098 1098 <rights type="text">Copyright <?php echo date('Y'); ?></rights> 1099 <?php the_generator( 'atom' ); ?>1100 1099 <?php do_action('app_head'); ?> 1101 1100 <?php if ( have_posts() ) { -
trunk/wp-includes/default-filters.php
r12982 r13113 185 185 add_action( 'wp_head', 'rel_canonical' ); 186 186 add_action( 'wp_footer', 'wp_print_footer_scripts' ); 187 188 // Feed Generator Tags 189 foreach ( array( 'rss2_head', 'commentsrss2_head', 'rss_head', 'rdf_header', 'atom_head', 'comments_atom_head', 'opml_head', 'app_head' ) as $action ) { 190 add_action( $action, 'the_generator' ); 191 } 187 192 188 193 // WP Cron -
trunk/wp-includes/feed-atom-comments.php
r12789 r13113 26 26 27 27 <updated><?php echo mysql2date('Y-m-d\TH:i:s\Z', get_lastcommentmodified('GMT'), false); ?></updated> 28 <?php the_generator( 'atom' ); ?>29 28 30 29 <?php if ( is_singular() ) { ?> -
trunk/wp-includes/feed-atom.php
r12587 r13113 21 21 22 22 <updated><?php echo mysql2date('Y-m-d\TH:i:s\Z', get_lastpostmodified('GMT'), false); ?></updated> 23 <?php the_generator( 'atom' ); ?>24 23 25 24 <link rel="alternate" type="text/html" href="<?php bloginfo_rss('url') ?>" /> -
trunk/wp-includes/feed-rdf.php
r13002 r13113 24 24 <description><?php bloginfo_rss('description') ?></description> 25 25 <dc:date><?php echo mysql2date('Y-m-d\TH:i:s\Z', get_lastpostmodified('GMT'), false); ?></dc:date> 26 <?php the_generator( 'rdf' ); ?>27 26 <sy:updatePeriod><?php echo apply_filters( 'rss_update_period', 'hourly' ); ?></sy:updatePeriod> 28 27 <sy:updateFrequency><?php echo apply_filters( 'rss_update_frequency', '1' ); ?></sy:updateFrequency> -
trunk/wp-includes/feed-rss.php
r11980 r13113 10 10 11 11 echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?> 12 <?php the_generator( 'comment' ); ?>13 12 <rss version="0.92"> 14 13 <channel> -
trunk/wp-includes/feed-rss2-comments.php
r11358 r13113 30 30 <description><?php bloginfo_rss("description") ?></description> 31 31 <lastBuildDate><?php echo mysql2date('r', get_lastcommentmodified('GMT')); ?></lastBuildDate> 32 <?php the_generator( 'rss2' ); ?>33 32 <sy:updatePeriod><?php echo apply_filters( 'rss_update_period', 'hourly' ); ?></sy:updatePeriod> 34 33 <sy:updateFrequency><?php echo apply_filters( 'rss_update_frequency', '1' ); ?></sy:updateFrequency> -
trunk/wp-includes/feed-rss2.php
r11980 r13113 27 27 <description><?php bloginfo_rss("description") ?></description> 28 28 <lastBuildDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT'), false); ?></lastBuildDate> 29 <?php the_generator( 'rss2' ); ?>30 29 <language><?php echo get_option('rss_language'); ?></language> 31 30 <sy:updatePeriod><?php echo apply_filters( 'rss_update_period', 'hourly' ); ?></sy:updatePeriod> -
trunk/wp-includes/general-template.php
r13068 r13113 2131 2131 * @return string The HTML content for the generator. 2132 2132 */ 2133 function get_the_generator( $type ) { 2134 switch ($type) { 2133 function get_the_generator( $type = '' ) { 2134 if ( empty( $type ) ) { 2135 2136 $current_filter = current_filter(); 2137 if ( empty( $current_filter ) ) 2138 return; 2139 2140 switch ( $current_filter ) { 2141 case 'rss2_head' : 2142 case 'commentsrss2_head' : 2143 $type = 'rss2'; 2144 break; 2145 case 'rss_head' : 2146 case 'opml_head' : 2147 $type = 'comment'; 2148 break; 2149 case 'rdf_header' : 2150 $type = 'rdf'; 2151 break; 2152 case 'atom_head' : 2153 case 'comments_atom_head' : 2154 case 'app_head' : 2155 $type = 'atom'; 2156 break; 2157 } 2158 } 2159 2160 switch ( $type ) { 2135 2161 case 'html': 2136 2162 $gen = '<meta name="generator" content="WordPress ' . get_bloginfo( 'version' ) . '">'; -
trunk/wp-links-opml.php
r12515 r13113 27 27 } 28 28 ?><?php echo '<?xml version="1.0"?'.">\n"; ?> 29 <?php the_generator( 'comment' ); ?>30 29 <opml version="1.0"> 31 30 <head> 32 31 <title>Links for <?php echo esc_attr(get_bloginfo('name', 'display').$cat_name); ?></title> 33 32 <dateCreated><?php echo gmdate("D, d M Y H:i:s"); ?> GMT</dateCreated> 33 <?php do_action('opml_head'); ?> 34 34 </head> 35 35 <body>
Note: See TracChangeset
for help on using the changeset viewer.