PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.17.0
GiveWP – Donation Plugin and Fundraising Platform v4.17.0
4.17.0 4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 All 256 releases
← All changes | includes/admin/tools/data/class-give-tools-delete-donations.php +4 -3 2.3.0 → 4.17.0 View file →
@@ -5,9 +5,9 @@
5 5 * This class handles batch processing of deleting donations between a given range.
6 6 *
7 7 * @package Admin/Tools
8 8 * @subpackage Admin/Tools/Give_Tools_Delete_Donations
9 - * @copyright Copyright (c) 2016, WordImpress
9 + * @copyright Copyright (c) 2016, GiveWP
10 10 * @license https://opensource.org/licenses/gpl-license GNU Public License
11 11 * @since 2.3.0
12 12 */
13 13
@@ -222,9 +222,10 @@
222 222 *
223 223 * @since 2.3.0
224 224 */
225 225 $args = apply_filters(
226 - 'give_tools_delete_donations_only_args', array(
226 + 'give_tools_delete_donations_only_args',
227 + array(
227 228 'post_status' => 'any',
228 229 'number' => - 1,
229 230 'start_date' => $this->start_date,
230 231 'end_date' => $this->end_date,
@@ -230,9 +231,9 @@
230 231 'end_date' => $this->end_date,
231 232 )
232 233 );
233 234
234 - $posts = new Give_Payments_Query( $args );
235 + $posts = new Give_Payments_Query( $args );
235 236
236 237 $payments = $posts->get_payments();
237 238
238 239 if ( ! empty( $payments ) ) {