WordPress.org

Make WordPress Core

Ticket #9524: 9524.diff

File 9524.diff, 875 bytes (added by Denis-de-Bernardy, 5 years ago)

use clean_url() instead

  • wp-admin/includes/export.php

     
    313313<wp:comment_id><?php echo $c->comment_ID; ?></wp:comment_id> 
    314314<wp:comment_author><?php echo wxr_cdata($c->comment_author); ?></wp:comment_author> 
    315315<wp:comment_author_email><?php echo $c->comment_author_email; ?></wp:comment_author_email> 
    316 <wp:comment_author_url><?php echo $c->comment_author_url; ?></wp:comment_author_url> 
     316<wp:comment_author_url><?php echo clean_url($c->comment_author_url); ?></wp:comment_author_url> 
    317317<wp:comment_author_IP><?php echo $c->comment_author_IP; ?></wp:comment_author_IP> 
    318318<wp:comment_date><?php echo $c->comment_date; ?></wp:comment_date> 
    319319<wp:comment_date_gmt><?php echo $c->comment_date_gmt; ?></wp:comment_date_gmt>