diff --git a/wp-admin/includes/export.php b/wp-admin/includes/export.php index baa133f299..2efd0405af 100644 --- a/wp-admin/includes/export.php +++ b/wp-admin/includes/export.php @@ -241,6 +241,8 @@ function export_wp( $args = array() ) { foreach ( (array) $results as $result ) $authors[] = get_userdata( $result->post_author ); + $authors = array_filter( $authors ); + foreach( $authors as $author ) { echo "\t"; echo '' . $author->ID . '';