From 9e50be1f0173f4fff45259f89caf8be5148e30c3 Mon Sep 17 00:00:00 2001 From: Chris Abraham Date: Thu, 12 Sep 2024 10:16:13 -0700 Subject: [PATCH] make sure we're deleting all the posts we need to be Signed-off-by: Chris Abraham --- .../mu-plugins/wp-mu-plugins/lf-mu/admin/partials/sync-kcds.php | 2 +- .../mu-plugins/wp-mu-plugins/lf-mu/admin/partials/sync-ktps.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/web/wp-content/mu-plugins/wp-mu-plugins/lf-mu/admin/partials/sync-kcds.php b/web/wp-content/mu-plugins/wp-mu-plugins/lf-mu/admin/partials/sync-kcds.php index 44e429ff4..2bafae3a9 100644 --- a/web/wp-content/mu-plugins/wp-mu-plugins/lf-mu/admin/partials/sync-kcds.php +++ b/web/wp-content/mu-plugins/wp-mu-plugins/lf-mu/admin/partials/sync-kcds.php @@ -29,7 +29,7 @@ 'meta_key' => 'lf_event_bevy_import', 'meta_value' => true, 'no_found_rows' => true, - 'posts_per_page' => 500, + 'posts_per_page' => -1, 'post_status' => 'any', ); $the_query = new WP_Query( $args ); diff --git a/web/wp-content/mu-plugins/wp-mu-plugins/lf-mu/admin/partials/sync-ktps.php b/web/wp-content/mu-plugins/wp-mu-plugins/lf-mu/admin/partials/sync-ktps.php index 4da1dad74..661b492c9 100644 --- a/web/wp-content/mu-plugins/wp-mu-plugins/lf-mu/admin/partials/sync-ktps.php +++ b/web/wp-content/mu-plugins/wp-mu-plugins/lf-mu/admin/partials/sync-ktps.php @@ -88,6 +88,7 @@ array( 'post_type' => 'lf_ktp', 'post__not_in' => $synced_ids, + 'posts_per_page' => -1, ) ); while ( $query->have_posts() ) {