• The following facebook comment code is appearing in my RSS feed causing it to break.

    <!-- Facebook Comments for WordPress: http://peadig.com/wordpress-plugins/facebook-comments/ -->
    <div id="fb-root"></div>
    <script>
        (function(d, s, id) {
            var js, fjs = d.getElementsByTagName(s)[0];
            if (d.getElementById(id)) return;
            js = d.createElement(s); js.id = id;
            js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=122928857737763";
            fjs.parentNode.insertBefore(js, fjs);
        }(document, 'script', 'facebook-jssdk'));
    </script>
    <script type="text/javascript">
        (function() {
            var request, b = document.body, c = 'className', cs = 'customize-support', rcs = new RegExp('(^|\\s+)(no-)?'+cs+'(\\s+|$)');
            request = true;
            b[c] = b[c].replace( rcs, ' ' );
            b[c] += ( window.postMessage && request ? ' ' : ' no-' ) + cs;
        }());
    </script>

    You can see the error of the rss feed here: http://blogs.columbian.com/all-politics-is-local/feed/.

    If you view the source you can see the code that’s being added to the RSS feed that shouldn’t be there.

    https://ww.wp.xz.cn/plugins/facebook-comments-plugin/

The topic ‘Plugin code is appearing in RSS feed’ is closed to new replies.