Make WordPress Core


Ignore:
Timestamp:
07/30/2007 04:08:30 PM (18 years ago)
Author:
markjaquith
Message:

Use CDATA escaping/unescaping for comment_author. props tellyworth. fixes #4452 for 2.2.x

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/wp-admin/export.php

    r5674 r5822  
    204204<wp:comment>
    205205<wp:comment_id><?php echo $c->comment_ID; ?></wp:comment_id>
    206 <wp:comment_author><?php echo $c->comment_author; ?></wp:comment_author>
     206<wp:comment_author><?php echo wxr_cdata($c->comment_author); ?></wp:comment_author>
    207207<wp:comment_author_email><?php echo $c->comment_author_email; ?></wp:comment_author_email>
    208208<wp:comment_author_url><?php echo $c->comment_author_url; ?></wp:comment_author_url>
Note: See TracChangeset for help on using the changeset viewer.