WordPress.org

Make WordPress Core

Ticket #108: 108.diff

File 108.diff, 2.6 KB (added by Denis-de-Bernardy, 5 years ago)
  • Users/denis/Sites/sem-pro/wp-includes/feed-rss2.php

     
    88header('Content-Type: ' . feed_content_type('rss2') . '; charset=' . get_option('blog_charset'), true); 
    99$more = 1; 
    1010 
    11 ?> 
    12 <?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?> 
     11echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?> 
    1312 
    1413<rss version="2.0" 
    1514        xmlns:content="http://purl.org/rss/1.0/modules/content/" 
  • Users/denis/Sites/sem-pro/wp-includes/feed-atom.php

     
    88header('Content-Type: ' . feed_content_type('atom') . '; charset=' . get_option('blog_charset'), true); 
    99$more = 1; 
    1010 
    11 ?> 
    12 <?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?> 
     11echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?> 
    1312<feed 
    1413  xmlns="http://www.w3.org/2005/Atom" 
    1514  xmlns:thr="http://purl.org/syndication/thread/1.0" 
  • Users/denis/Sites/sem-pro/wp-includes/feed-rss.php

     
    88header('Content-Type: ' . feed_content_type('rss') . '; charset=' . get_option('blog_charset'), true); 
    99$more = 1; 
    1010 
    11 ?> 
    12 <?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?> 
     11echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?> 
    1312<?php the_generator( 'comment' ); ?> 
    1413<rss version="0.92"> 
    1514<channel> 
  • Users/denis/Sites/sem-pro/wp-includes/feed-rdf.php

     
    88header('Content-Type: ' . feed_content_type('rdf') . '; charset=' . get_option('blog_charset'), true); 
    99$more = 1; 
    1010 
    11 ?> 
    12 <?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?> 
     11echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?> 
    1312<rdf:RDF 
    1413        xmlns="http://purl.org/rss/1.0/" 
    1514        xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"