Edit File by line
/home/barbar84/public_h.../wp-inclu...
File: feed-rss.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* RSS 0.92 Feed Template for displaying RSS 0.92 Posts feed.
[2] Fix | Delete
*
[3] Fix | Delete
* @package WordPress
[4] Fix | Delete
*/
[5] Fix | Delete
[6] Fix | Delete
header( 'Content-Type: ' . feed_content_type( 'rss' ) . '; charset=' . get_option( 'blog_charset' ), true );
[7] Fix | Delete
$more = 1;
[8] Fix | Delete
[9] Fix | Delete
echo '<?xml version="1.0" encoding="' . get_option( 'blog_charset' ) . '"?' . '>'; ?>
[10] Fix | Delete
<rss version="0.92">
[11] Fix | Delete
<channel>
[12] Fix | Delete
<title><?php wp_title_rss(); ?></title>
[13] Fix | Delete
<link><?php bloginfo_rss( 'url' ); ?></link>
[14] Fix | Delete
<description><?php bloginfo_rss( 'description' ); ?></description>
[15] Fix | Delete
<lastBuildDate><?php echo get_feed_build_date( 'D, d M Y H:i:s +0000' ); ?></lastBuildDate>
[16] Fix | Delete
<docs>http://backend.userland.com/rss092</docs>
[17] Fix | Delete
<language><?php bloginfo_rss( 'language' ); ?></language>
[18] Fix | Delete
<?php
[19] Fix | Delete
/**
[20] Fix | Delete
* Fires at the end of the RSS Feed Header.
[21] Fix | Delete
*
[22] Fix | Delete
* @since 2.0.0
[23] Fix | Delete
*/
[24] Fix | Delete
do_action( 'rss_head' );
[25] Fix | Delete
?>
[26] Fix | Delete
[27] Fix | Delete
<?php
[28] Fix | Delete
while ( have_posts() ) :
[29] Fix | Delete
the_post();
[30] Fix | Delete
?>
[31] Fix | Delete
<item>
[32] Fix | Delete
<title><?php the_title_rss(); ?></title>
[33] Fix | Delete
<description><![CDATA[<?php the_excerpt_rss(); ?>]]></description>
[34] Fix | Delete
<link><?php the_permalink_rss(); ?></link>
[35] Fix | Delete
<?php
[36] Fix | Delete
/**
[37] Fix | Delete
* Fires at the end of each RSS feed item.
[38] Fix | Delete
*
[39] Fix | Delete
* @since 2.0.0
[40] Fix | Delete
*/
[41] Fix | Delete
do_action( 'rss_item' );
[42] Fix | Delete
?>
[43] Fix | Delete
</item>
[44] Fix | Delete
<?php endwhile; ?>
[45] Fix | Delete
</channel>
[46] Fix | Delete
</rss>
[47] Fix | Delete
[48] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function