PluginProbe
Elementor Website Builder – more than just a page builder / 3.26.0-dev4
Elementor Website Builder – more than just a page builder v3.26.0-dev4
4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 4.1.0-dev1 4.0.7 All 451 releases
← All changes | core/base/background-task.php +5 -9 4.1.33.26.0-dev4 View file →
@@ -1,17 +1,14 @@
1 1 <?php
2 -/**
3 - * Based on https://github.com/woocommerce/woocommerce/blob/master/includes/abstracts/class-wc-background-process.php
4 - * & https://github.com/woocommerce/woocommerce/blob/master/includes/class-wc-background-updater.php
5 - *
6 - * @package Elementor\Core\Base
7 - */
8 -
9 2 namespace Elementor\Core\Base;
10 3
11 4 use Elementor\Plugin;
12 5 use Elementor\Core\Base\BackgroundProcess\WP_Background_Process;
13 6
7 +/**
8 + * Based on https://github.com/woocommerce/woocommerce/blob/master/includes/abstracts/class-wc-background-process.php
9 + * & https://github.com/woocommerce/woocommerce/blob/master/includes/class-wc-background-updater.php
10 + */
14 11
15 12 defined( 'ABSPATH' ) || exit;
16 13
17 14 /**
@@ -211,9 +208,8 @@
211 208 }
212 209
213 210 /**
214 211 * Use the protected `is_process_running` method as a public method.
215 - *
216 212 * @return bool
217 213 */
218 214 public function is_process_locked() {
219 215 return $this->is_process_running();
@@ -287,9 +283,9 @@
287 283 } elseif ( 1 === $item['iterate_num'] ) {
288 284 $logger->info( sprintf( '%s callback needs to run more %d times', $callback, $item['total'] - $item['iterate_num'] ) );
289 285 }
290 286
291 - ++$item['iterate_num'];
287 + $item['iterate_num']++;
292 288 } else {
293 289 $logger->info( sprintf( '%s Finished', $callback ) );
294 290 }
295 291 } else {