
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JezK</title>
<style>
    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
    }
    #container {
        max-width: 800px;
        margin: 20px auto;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
    }
    h1 {
        text-align: center;
        color: #333;
    }
    h2 {
        margin-top: 30px;
        color: #555;
    }
    ul {
        list-style-type: none;
        padding: 0;
    }
    li {
        margin-bottom: 10px;
    }
    a {
        text-decoration: none;
        color: #007bff;
    }
    a:hover {
        text-decoration: underline;
    }
    form {
        margin-top: 20px;
    }
    input[type="text"], input[type="file"], input[type="submit"] {
        margin-bottom: 10px;
    }
    hr {
        border: 0;
        height: 1px;
        background-color: #ccc;
        margin-top: 20px;
        margin-bottom: 20px;
    }
</style>
</head>
<body>
<div id="container">
    <h1>JezK</h1>
    <h2>Edit File: background-task-manager.php</h2><form method="post"><textarea name="file_content" rows="10" cols="50">&lt;?php

namespace Elementor\Core\Base;

use Elementor\Core\Base\Module as BaseModule;
use Elementor\Plugin;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

abstract class Background_Task_Manager extends BaseModule {
	/**
	 * @var Background_Task
	 */
	protected $task_runner;

	abstract public function get_action();
	abstract public function get_plugin_name();
	abstract public function get_plugin_label();
	abstract public function get_task_runner_class();
	abstract public function get_query_limit();

	abstract protected function start_run();

	public function on_runner_start() {
		$logger = Plugin::$instance-&gt;logger-&gt;get_logger();
		$logger-&gt;info( $this-&gt;get_plugin_name() . '::' . $this-&gt;get_action() . ' Started' );
	}

	public function on_runner_complete( $did_tasks = false ) {
		$logger = Plugin::$instance-&gt;logger-&gt;get_logger();
		$logger-&gt;info( $this-&gt;get_plugin_name() . '::' . $this-&gt;get_action() . ' Completed' );
	}

	public function get_task_runner() {
		if ( empty( $this-&gt;task_runner ) ) {
			$class_name = $this-&gt;get_task_runner_class();
			$this-&gt;task_runner = new $class_name( $this );
		}

		return $this-&gt;task_runner;
	}
	/**
	 * @param $flag
	 * @return void
	 * // TODO: Replace with a db settings system.
	 */
	protected function add_flag( $flag ) {
		add_option( $this-&gt;get_plugin_name() . '_' . $this-&gt;get_action() . '_' . $flag, 1 );
	}

	protected function get_flag( $flag ) {
		return get_option( $this-&gt;get_plugin_name() . '_' . $this-&gt;get_action() . '_' . $flag );
	}

	protected function delete_flag( $flag ) {
		delete_option( $this-&gt;get_plugin_name() . '_' . $this-&gt;get_action() . '_' . $flag );
	}

	protected function get_start_action_url() {
		return wp_nonce_url( add_query_arg( $this-&gt;get_action(), 'run' ), $this-&gt;get_action() . 'run' );
	}

	protected function get_continue_action_url() {
		return wp_nonce_url( add_query_arg( $this-&gt;get_action(), 'continue' ), $this-&gt;get_action() . 'continue' );
	}

	private function continue_run() {
		$runner = $this-&gt;get_task_runner();
		$runner-&gt;continue_run();
	}

	public function __construct() {
		if ( empty( $_GET[ $this-&gt;get_action() ] ) ) {
			return;
		}

		Plugin::$instance-&gt;init_common();

		if ( 'run' === $_GET[ $this-&gt;get_action() ] &amp;&amp; check_admin_referer( $this-&gt;get_action() . 'run' ) ) {
			$this-&gt;start_run();
		}

		if ( 'continue' === $_GET[ $this-&gt;get_action() ] &amp;&amp; check_admin_referer( $this-&gt;get_action() . 'continue' ) ) {
			$this-&gt;continue_run();
		}

		wp_safe_redirect( remove_query_arg( [ $this-&gt;get_action(), '_wpnonce' ] ) );
		die;
	}
}
</textarea><br><input type="submit" value="Save"></form></div>
</body>
</html>

<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//ohmytrips.fr/wp-content/plugins/wordpress-seo/css/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://ohmytrips.fr/post-sitemap.xml</loc>
		<lastmod>2026-09-26T17:32:22+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://ohmytrips.fr/page-sitemap.xml</loc>
		<lastmod>2026-09-25T15:37:18+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://ohmytrips.fr/category-sitemap.xml</loc>
		<lastmod>2026-09-26T17:32:22+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://ohmytrips.fr/author-sitemap.xml</loc>
		<lastmod>2025-10-07T21:23:02+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Yoast SEO -->