[wp-hackers] ClassIXR.php problem

Sam Angove peasant at gmail.com
Sat Aug 27 14:55:10 GMT 2005


On 8/27/05, Jason goldsmith <unteins at gmail.com> wrote:
> Hi Folks,
>
> If this is valid, how do we get it moved into the WordPress
> distribution so that this issue dies once and for all. I have been
> telling people to overwrite the file with my edit at their own risk,
> which as you can imagine doesn't inspire great confidence.

Submit a ticket at the bug tracker:

   <http://trac.wordpress.org/newticket>

FWIW, your fix is fine, it just makes the output harder to read if
you're debugging the XML. You can always do something like:

if (strstr($line, "\n")
    $contents .= trim($line)."\n";
else
    $contents .= trim($line);


More information about the wp-hackers mailing list