WordPress.org

Make WordPress Core

Ticket #9524: #9524_export.php.diff

File #9524_export.php.diff, 833 bytes (added by mtekk, 5 years ago)
  • 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 htmlspecialchars($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>