| Server IP : 45.33.98.47 / Your IP : 216.73.217.106 Web Server : Apache/2.4.66 (Debian) System : Linux 8783c923f53b 6.8.0-51-generic #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec 5 13:09:44 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/html/wp-content/plugins/elementor/core/upgrade/ |
Upload File : |
<?php
namespace Elementor\Core\Upgrade;
use Elementor\Core\Base\Background_Task;
use Elementor\Core\Base\DB_Upgrades_Manager;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
class Task extends Background_Task {
/**
* @var DB_Upgrades_Manager
*/
protected $manager;
protected function format_callback_log( $item ) {
return $this->manager->get_plugin_label() . '/Tasks - ' . $item['callback'][1];
}
public function set_limit( $limit ) {
$this->manager->set_query_limit( $limit );
}
}