Edit File by line
/home/zeestwma/richards.../wp-conte.../plugins/hostinge.../includes/Admin/Jobs
File: JobInitializer.php
<?php
[0] Fix | Delete
[1] Fix | Delete
namespace Hostinger\Admin\Jobs;
[2] Fix | Delete
[3] Fix | Delete
use Hostinger\Admin\PluginSettings;
[4] Fix | Delete
use Hostinger\Admin\Proxy;
[5] Fix | Delete
use Hostinger\LlmsTxtGenerator\LlmsTxtFileHelper;
[6] Fix | Delete
use Hostinger\LlmsTxtGenerator\LlmsTxtParser;
[7] Fix | Delete
use Hostinger\Mcp\EventHandlerFactory;
[8] Fix | Delete
[9] Fix | Delete
defined( 'ABSPATH' ) || exit;
[10] Fix | Delete
[11] Fix | Delete
class JobInitializer {
[12] Fix | Delete
[13] Fix | Delete
public function __construct( Proxy $proxy ) {
[14] Fix | Delete
$jobs = array();
[15] Fix | Delete
$jobs[] = new NotifyMcpJob( new ActionScheduler(), new EventHandlerFactory( $proxy ) );
[16] Fix | Delete
$jobs[] = new LlmsTxtInjectContentJob( new ActionScheduler(), new LlmsTxtParser(), new LlmsTxtFileHelper(), new PluginSettings() );
[17] Fix | Delete
[18] Fix | Delete
foreach ( $jobs as $job ) {
[19] Fix | Delete
$job->init();
[20] Fix | Delete
}
[21] Fix | Delete
}
[22] Fix | Delete
}
[23] Fix | Delete
[24] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function