diff options
Diffstat (limited to 'plugins/jetpack/modules/sitemaps/sitemap-librarian.php')
-rw-r--r-- | plugins/jetpack/modules/sitemaps/sitemap-librarian.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/jetpack/modules/sitemaps/sitemap-librarian.php b/plugins/jetpack/modules/sitemaps/sitemap-librarian.php index 89a86830..f56a0ff8 100644 --- a/plugins/jetpack/modules/sitemaps/sitemap-librarian.php +++ b/plugins/jetpack/modules/sitemaps/sitemap-librarian.php @@ -225,10 +225,12 @@ class Jetpack_Sitemap_Librarian { "SELECT * FROM $wpdb->posts WHERE post_type=%s + AND post_status=%s AND ID>%d ORDER BY ID ASC LIMIT %d;", $type, + 'draft', $from_id, $num_posts ), |