Support » Fixing WordPress » This feed does not validate. Fix

  • finds errors in URLs regarding GET-vars, i.e. ‘&’ ist translated incorrectly.

    Fix: comment the lines

    # $curl = preg_replace(‘/&([^#])(?![a-z1-4]{1,8};)/’, ‘&$1’, $curl);

    in function wptexturize($text) in wp-includes\functions-formatting.php


    # $content = preg_replace(‘/&([^#])(?![a-z1-4]{1,8};)/i’, ‘&$1’, $content);

    in function convert_chars($content, $flag = ‘obsolete’) , same file

    Also: it complains
    This feed is valid, but may cause problems for some users. We recommend fixing these problems.

    line 27, column 3: Avoid content:encoded (10 occurrences) [help]

    <content:encoded><![CDATA[<TABLE border=0 cellpadding=0 cellspacing=0 ali …

  • The topic ‘This feed does not validate. Fix’ is closed to new replies.