Wrap the content of <wp:meta_value></wp:meta_value> in CDATA for WXR exports. Fixes #9633 props hakre.
git-svn-id: https://develop.svn.wordpress.org/trunk@12506 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1a98396118
commit
159726cd94
|
@ -347,7 +347,7 @@ if ( $postmeta ) {
|
||||||
<?php foreach( $postmeta as $meta ) { ?>
|
<?php foreach( $postmeta as $meta ) { ?>
|
||||||
<wp:postmeta>
|
<wp:postmeta>
|
||||||
<wp:meta_key><?php echo $meta->meta_key; ?></wp:meta_key>
|
<wp:meta_key><?php echo $meta->meta_key; ?></wp:meta_key>
|
||||||
<wp:meta_value><?Php echo $meta->meta_value; ?></wp:meta_value>
|
<wp:meta_value><?php echo wxr_cdata( $meta->meta_value ); ?></wp:meta_value>
|
||||||
</wp:postmeta>
|
</wp:postmeta>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
Loading…
Reference in New Issue