From 18d6a32abf4a00518e6361dc843bebea4619bc1e Mon Sep 17 00:00:00 2001 From: jmslbam Date: Mon, 4 Mar 2013 21:19:47 +0100 Subject: [PATCH] Removed query reset --- php/commands/media.php | 1 - 1 file changed, 1 deletion(-) diff --git a/php/commands/media.php b/php/commands/media.php index 96e46a95..9942c9b5 100644 --- a/php/commands/media.php +++ b/php/commands/media.php @@ -55,7 +55,6 @@ class Media_Command extends WP_CLI_Command { $this->_process_regeneration( $id ); } - wp_reset_postdata(); WP_CLI::success( "Finished regenerating " . ngettext('the image', 'all images', $count) . "."); } -- 2.11.0