diff --git a/wp-admin/includes/export.php b/wp-admin/includes/export.php index c46843bd5..79d822a47 100644 --- a/wp-admin/includes/export.php +++ b/wp-admin/includes/export.php @@ -264,6 +264,9 @@ echo '\n"; $where = "WHERE ID IN (".join(',', $next_posts).")"; $posts = $wpdb->get_results("SELECT * FROM $wpdb->posts $where ORDER BY post_date_gmt ASC"); foreach ($posts as $post) { + // Don't export revisions. They bloat the export. + if ( 'revision' == $post->post_type ) + continue; setup_postdata($post); ?> <?php echo apply_filters('the_title_rss', $post->post_title); ?>