Make WordPress Core


Ignore:
Timestamp:
05/26/2010 05:01:21 PM (15 years ago)
Author:
westi
Message:

Escape the guid urls when placing them in feeds and other xml locations. See #13555.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/feed-rss2.php

    r13113 r14947  
    4040        <?php the_category_rss() ?>
    4141
    42         <guid isPermaLink="false"><?php the_guid(); ?></guid>
     42        <guid isPermaLink="false"><?php esc_url( the_guid() ); ?></guid>
    4343<?php if (get_option('rss_use_excerpt')) : ?>
    4444        <description><![CDATA[<?php the_excerpt_rss() ?>]]></description>
Note: See TracChangeset for help on using the changeset viewer.