WordPress.org

Ready to get started?Download WordPress

Forums

Can't fix the RSS slash problem (7 posts)

  1. shelleyp
    Member
    Posted 10 years ago #

    Can't fix the problem with apostrophe's being escaped in the syndication feeds. I've tried add_filters, but nothing seems to work.
    I'm getting emails from several people telling me my feeds are broken.
    What can I do?

  2. trench
    Member
    Posted 10 years ago #

    Try this thread http://wordpress.org/support/3/5889
    It worked for me.

  3. shelleyp
    Member
    Posted 10 years ago #

    Thanks trench. I did see that thread.
    Using the filters or grabbing those files, trench? I'm trying the filters in the feeds now, but hesitate on just grabbing a couple of files from CVS without knowing what other dependencies are associated with the files.

  4. shelleyp
    Member
    Posted 10 years ago #

    Just checked with recent post -- adding the filters does seem to work.
    add_filter('the_excerpt_rss', 'stripslashes');
    add_filter('the_content', 'stripslashes');
    To the syndication files.

  5. trench
    Member
    Posted 10 years ago #

    I added add_filter('comment_text', 'stripslashes');
    to wp-includes/vars.php and it worked like a charm for me.

  6. shelleyp
    Member
    Posted 10 years ago #

    Unfortunately, doesn't do much for the syndication feeds...

  7. shelleyp
    Member
    Posted 10 years ago #

    When I added the following to my htaccess:
    php_flag magic_quotes_gpc off
    php_flag magic_quotes_runtime off
    And tried to edit a comment, I got an error.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.