Ticket #3513: 3513.diff
| File 3513.diff, 2.1 KB (added by rob1n, 5 years ago) |
|---|
-
wp-includes/feed-rss2.php
10 10 xmlns:content="http://purl.org/rss/1.0/modules/content/" 11 11 xmlns:wfw="http://wellformedweb.org/CommentAPI/" 12 12 xmlns:dc="http://purl.org/dc/elements/1.1/" 13 xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" 13 14 <?php do_action('rss2_ns'); ?> 14 15 > 15 16 … … 20 21 <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT'), false); ?></pubDate> 21 22 <generator>http://wordpress.org/?v=<?php bloginfo_rss('version'); ?></generator> 22 23 <language><?php echo get_option('rss_language'); ?></language> 24 <sy:updatePeriod><?php echo apply_filters( 'rss_update_period', 'hourly' ); ?></sy:updatePeriod> 25 <sy:updateFrequency><?php echo apply_filters( 'rss_update_frequency', '1' ); ?></sy:updateFrequency> 23 26 <?php do_action('rss2_head'); ?> 24 27 <?php while( have_posts()) : the_post(); ?> 25 28 <item> -
wp-includes/feed-rss2-comments.php
5 5 ?> 6 6 <!-- generator="wordpress/<?php echo $wp_version ?>" --> 7 7 <rss version="2.0" 8 xmlns:content="http://purl.org/rss/1.0/modules/content/"> 8 xmlns:content="http://purl.org/rss/1.0/modules/content/" 9 xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" 10 > 9 11 <channel> 10 12 <title><?php 11 13 if ( is_singular() ) … … 19 21 <description><?php bloginfo_rss("description") ?></description> 20 22 <pubDate><?php echo gmdate('r'); ?></pubDate> 21 23 <generator>http://wordpress.org/?v=<?php echo $wp_version ?></generator> 22 24 <sy:updatePeriod><?php echo apply_filters( 'rss_update_period', 'hourly' ); ?></sy:updatePeriod> 25 <sy:updateFrequency><?php echo apply_filters( 'rss_update_frequency', '1' ); ?></sy:updateFrequency> 23 26 <?php 24 27 if ( have_comments() ) : while ( have_comments() ) : the_comment(); 25 28 $comment_post = get_post($comment->comment_post_ID);
