Export filtering JS and minor tweaks. props duck_, see #15197.

git-svn-id: https://develop.svn.wordpress.org/trunk@16733 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2010-12-05 11:21:08 +00:00
parent 3378402497
commit e16287f1fa
2 changed files with 24 additions and 1 deletions
+1
View File
@@ -243,6 +243,7 @@ function export_wp( $args = array() ) {
foreach( $authors as $author ) {
echo "\t<wp:author>";
echo '<wp:author_id>' . $author->ID . '</wp:author_id>';
echo '<wp:author_login>' . $author->user_login . '</wp:author_login>';
echo '<wp:author_email>' . $author->user_email . '</wp:author_email>';
echo '<wp:author_display_name>' . wxr_cdata( $author->display_name ) . '</wp:author_display_name>';