Skip to content
This repository has been archived by the owner on Nov 28, 2019. It is now read-only.

Commit

Permalink
solved #37 add <wp:post_author>
Browse files Browse the repository at this point in the history
  • Loading branch information
derpixler committed Jan 9, 2016
1 parent ecff066 commit ff886e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/Wpml2mlp_Wxr_Export.php
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ private function wxr_get_post_items() {

$wxr_items .= "\t\t\t<wp:post_id>" . intval( $post->ID ) . "</wp:post_id>\n";
$wxr_items .= "\t\t\t<wp:post_date>" . $this->wxr_cdata( $post->post_date ) . "</wp:post_date>\n";
$wxr_items .= "\t\t\t<wp:post_author>" . $this->wxr_cdata( $post->post_author ) . "</wp:post_author>\n";
$wxr_items .= "\t\t\t<wp:post_date_gmt>" . $this->wxr_cdata( $post->post_date_gmt ) . "</wp:post_date_gmt>\n";
$wxr_items .= "\t\t\t<wp:comment_status>" . $this->wxr_cdata( $post->comment_status ) . "</wp:comment_status>\n";
$wxr_items .= "\t\t\t<wp:ping_status>" . $this->wxr_cdata( $post->ping_status ) . "</wp:ping_status>\n";
Expand All @@ -272,7 +273,6 @@ private function wxr_get_post_items() {

$wxr_items .= "\n\t\t</item>\n";


#buddy take a break, its hard work i now ;)
if ( $i >= 50 ) {

Expand Down

0 comments on commit ff886e1

Please sign in to comment.