Skip to:
Content

bbPress.org

Ticket #2901: 2901.01.patch

File 2901.01.patch, 1.3 KB (added by thebrandonallen, 6 years ago)
  • src/includes/replies/functions.php

    diff --git src/includes/replies/functions.php src/includes/replies/functions.php
    index a6ebae6..7a925ce 100644
    function bbp_display_replies_feed_rss2( $replies_query = array() ) { 
    21952195        }
    21962196
    21972197        // Display the feed
    2198         header( 'Content-Type: ' . feed_content_type( 'rss-http' ) . '; charset=' . get_option( 'blog_charset' ), true );
     2198        header( 'Content-Type: ' . feed_content_type( 'rss' ) . '; charset=' . get_option( 'blog_charset' ), true );
    21992199        header( 'Status: 200 OK' );
    22002200        echo '<?xml version="1.0" encoding="' . get_option( 'blog_charset' ) . '"?' . '>'; ?>
    22012201
  • src/includes/topics/functions.php

    diff --git src/includes/topics/functions.php src/includes/topics/functions.php
    index d5eca39..966ad3b 100644
    function bbp_display_topics_feed_rss2( $topics_query = array() ) { 
    37803780        }
    37813781
    37823782        // Display the feed
    3783         header( 'Content-Type: ' . feed_content_type( 'rss-http' ) . '; charset=' . get_option( 'blog_charset' ), true );
     3783        header( 'Content-Type: ' . feed_content_type( 'rss' ) . '; charset=' . get_option( 'blog_charset' ), true );
    37843784        header( 'Status: 200 OK' );
    37853785        echo '<?xml version="1.0" encoding="' . get_option( 'blog_charset' ) . '"?' . '>'; ?>
    37863786