WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: NextGEN Gallery] Bug in "lib/media-rss.php" (2 posts)

  1. Kruncher
    Member
    Posted 3 years ago #

    When Image URI contains an apostrophe the RSS XML is invalid. I changed line 213 from:
    $out .= $indent . "\t<media:content url='" . $image->imageURL . "' medium='image' />\n";
    to:
    $out .= $indent . "\t<media:content url='" . esc_attr($image->imageURL) . "' medium='image' />\n";

    I also did the same for line 216.

    and it now appears to work fine for me.

    http://wordpress.org/extend/plugins/nextgen-gallery/

  2. Alex Rabe
    Member
    Posted 3 years ago #

    Thanks , I will fix that in the next release

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.