ROOTPLOIT
Server: LiteSpeed
System: Linux in-mum-web1878.main-hosting.eu 5.14.0-570.21.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jun 11 07:22:35 EDT 2025 x86_64
User: u435929562 (435929562)
PHP: 7.4.33
Disabled: system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
Upload Files
File: //opt/.wp-cli/packages/vendor/wp-cli/language-command/language-command.php
<?php

if ( ! class_exists( 'WP_CLI' ) ) {
	return;
}

$wpcli_language_autoloader = __DIR__ . '/vendor/autoload.php';

if ( file_exists( $wpcli_language_autoloader ) ) {
	require_once $wpcli_language_autoloader;
}

$wpcli_language_check_requirements = function () {
	if ( \WP_CLI\Utils\wp_version_compare( '4.0', '<' ) ) {
		WP_CLI::error( 'Requires WordPress 4.0 or greater.' );
	}
};

WP_CLI::add_command(
	'language core',
	'Core_Language_Command',
	array( 'before_invoke' => $wpcli_language_check_requirements )
);

WP_CLI::add_command(
	'language plugin',
	'Plugin_Language_Command',
	array( 'before_invoke' => $wpcli_language_check_requirements )
);

WP_CLI::add_command(
	'language theme',
	'Theme_Language_Command',
	array( 'before_invoke' => $wpcli_language_check_requirements )
);

WP_CLI::add_hook(
	'after_add_command:site',
	function () {
		WP_CLI::add_command( 'site switch-language', 'Site_Switch_Language_Command' );
	}
);

if ( class_exists( 'WP_CLI\Dispatcher\CommandNamespace' ) ) {
	WP_CLI::add_command( 'language', 'Language_Namespace' );
}