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-recount-donor-stats.php +8 -4 2.3.2 → 4.17.0 View file →
@@ -166,9 +166,9 @@
166 166 'order' => 'DESC',
167 167 );
168 168
169 169 $donors = Give()->donors->get_donors( $args );
170 - $total = count( $donors );
170 + $total = count( $donors );
171 171
172 172 $percentage = 100;
173 173
174 174 if ( $total > 0 ) {
@@ -200,11 +200,15 @@
200 200 */
201 201 public function process_step() {
202 202
203 203 if ( ! $this->can_export() ) {
204 - wp_die( esc_html__( 'You do not have permission to recount stats.', 'give' ), esc_html__( 'Error', 'give' ), array(
205 - 'response' => 403,
206 - ) );
204 + wp_die(
205 + esc_html__( 'You do not have permission to recount stats.', 'give' ),
206 + esc_html__( 'Error', 'give' ),
207 + array(
208 + 'response' => 403,
209 + )
210 + );
207 211 }
208 212
209 213 $had_data = $this->get_data();
210 214