WordPress.org

Make WordPress Core

Changeset 12506


Ignore:
Timestamp:
12/23/09 13:03:34 (6 years ago)
Author:
westi
Message:

Wrap the content of <wp:meta_value></wp:meta_value> in CDATA for WXR exports. Fixes #9633 props hakre.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/export.php

    r12359 r12506  
    348348<wp:postmeta> 
    349349<wp:meta_key><?php echo $meta->meta_key; ?></wp:meta_key> 
    350 <wp:meta_value><?Php echo $meta->meta_value; ?></wp:meta_value> 
     350<wp:meta_value><?php echo wxr_cdata( $meta->meta_value ); ?></wp:meta_value> 
    351351</wp:postmeta> 
    352352<?php } ?> 
Note: See TracChangeset for help on using the changeset viewer.