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-admin/includes/export.php

    r14924 r14947  
    348348        <?php wxr_post_taxonomy() ?>
    349349
    350         <guid isPermaLink="false"><?php the_guid(); ?></guid>
     350        <guid isPermaLink="false"><?php esc_url( the_guid() ); ?></guid>
    351351        <description></description>
    352352        <content:encoded><?php echo wxr_cdata( apply_filters( 'the_content_export', $post->post_content ) ); ?></content:encoded>
Note: See TracChangeset for help on using the changeset viewer.