From 511421fc283ea404db4e3350b869a3fe21dbff5a Mon Sep 17 00:00:00 2001 From: Memo Date: Mon, 26 Feb 2024 16:29:18 -0300 Subject: [PATCH] Remove post parent key from wp_query --- .../pri-migration-helper/cli/includes/class-pmh-worker.php | 1 - 1 file changed, 1 deletion(-) diff --git a/wp-content/plugins/pri-migration-helper/cli/includes/class-pmh-worker.php b/wp-content/plugins/pri-migration-helper/cli/includes/class-pmh-worker.php index 84aeaf757..ed2c9dab5 100644 --- a/wp-content/plugins/pri-migration-helper/cli/includes/class-pmh-worker.php +++ b/wp-content/plugins/pri-migration-helper/cli/includes/class-pmh-worker.php @@ -970,7 +970,6 @@ public function get_images_by_asc_id( $per_process_limit ) { 'post_type' => 'attachment', 'post_mime_type' => 'image', 'post_status' => 'inherit', - 'post_parent' => null, 'fields' => 'ids', 'orderby' => 'ID', 'order' => 'ASC',