WordPress.org

Ready to get started?Download WordPress

Forums

This feed does not validate. Fix (1 post)

  1. WernerPopken
    Member
    Posted 8 years ago #

    http://feedvalidator.org/check.cgi 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

    and

    # $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 ...

Topic Closed

This topic has been closed to new replies.

About this Topic