Make WordPress Core

Ticket #23643: remove-redundant-escape-url.23643.diff

File remove-redundant-escape-url.23643.diff, 869 bytes (added by pauldewouters, 12 years ago)

remove redundant esc_url

  • wp-admin/includes/export.php

    diff --git wp-admin/includes/export.php wp-admin/includes/export.php
    index c66b7f3..ae08c3c 100644
    function export_wp( $args = array() ) { 
    371371                <link><?php the_permalink_rss() ?></link>
    372372                <pubDate><?php echo mysql2date( 'D, d M Y H:i:s +0000', get_post_time( 'Y-m-d H:i:s', true ), false ); ?></pubDate>
    373373                <dc:creator><?php echo get_the_author_meta( 'login' ); ?></dc:creator>
    374                 <guid isPermaLink="false"><?php esc_url( the_guid() ); ?></guid>
     374                <guid isPermaLink="false"><?php the_guid(); ?></guid>
    375375                <description></description>
    376376                <content:encoded><?php echo wxr_cdata( apply_filters( 'the_content_export', $post->post_content ) ); ?></content:encoded>
    377377                <excerpt:encoded><?php echo wxr_cdata( apply_filters( 'the_excerpt_export', $post->post_excerpt ) ); ?></excerpt:encoded>