Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php /* Plugin Name: MiniOrange Power BI Embed Reports Premium Plugin URI: http://min..
Decoded Output download
<?php
/*
Plugin Name: MiniOrange Power BI Embed Reports Premium
Plugin URI: http://miniorange.com/
Description: This plugin will allow you to embed Power BI reports,dashboards etc with additional embed settings and also could configure RLS .
Version: 21.0.0
Author: miniOrange
Author URI: http://miniorange.com/
*/
namespace moApiIntegrator;
use moApiIntegrator\ControllerdminController;
use moApiIntegrator\Controller\BatchProcess;
use moApiIntegrator\Controller\moBackground;
use moApiIntegrator\Integrate\powerBI;
use moApiIntegrator\ObserveraseObserver;
use moApiIntegrator\Observer\pbiObserver;
use moApiIntegrator\ViewdminView;
use moApiIntegrator\Wrapper\wpCron;
use moApiIntegrator\Wrapper\wpWrapper;
use WP_Batch_Processor;
use WP_Batch_Processor_Admin;
define("MO_API_PLUGIN_DIR", dirname(__FILE__) . "/");
define("MO_API_PLUGIN_FILE", dirname(__FILE__) . "/mo-api-integrator.php");
require_once __DIR__ . "/vendor/autoload.php";
class moApiIntegrator
{
function __construct()
{
add_action("admin_menu", [$this, "mo_api_admin_menu"]);
add_action("admin_enqueue_scripts", [$this, "mo_api_settings_scripts"]);
add_action("admin_enqueue_scripts", [$this, "mo_api_settings_style"]);
add_action("wp_batch_processing_init", [$this, "mo_api_wp_batch_processing_init"], 15, 1);
add_action("admin_init", [adminController::getController(), "mo_api_admin_observer"]);
add_action("init", [baseObserver::getObserver(), "mo_api_init_observer"]);
add_filter("cron_schedules", [wpCron::getCron(), "mo_api_cron_custom_schedule"]);
add_filter("get_avatar", [baseObserver::getObserver(), "mo_api_set_gravatar"], 100000, 5);
add_action("plugins_loaded", [moBackground::getController(), "mo_api_azos_run_bg_process"], 1);
add_action("wp_ajax_dg_restart_batch", array($this, "restart_batch"));
add_action("wp_ajax_dg_process_next_batch_item", array($this, "process_next_item"));
add_action("user_register", [adminController::getController(), "mo_api_create_users_app"], 10, 2);
add_action("profile_update", [adminController::getController(), "mo_azos_update_users_app"], 10, 1);
add_action("mo_api_user_delta_sync_action", [wpCron::getCron(), "mo_api_user_delta_sync_action"]);
if (!(function_exists("is_plugin_active") && is_plugin_active("buddypress/bp-loader.php"))) {
goto g_;
}
add_filter("bp_core_fetch_avatar", array($this, "mo_api_set_extended_gravatar"), 10, 2);
g_:
add_action("wp_ajax_mo_api_powerbi", [pbiObserver::getObserver(), "mo_api_pbi_observer"]);
add_action("wp_ajax_nopriv_mo_api_powerbi", [pbiObserver::getObserver(), "mo_api_pbi_observer"]);
add_action("wp_ajax_mo_api_powerbi_embed", [powerBI::getController(), "mo_api_powerbi_embed_api_handler"]);
add_action("wp_ajax_nopriv_mo_api_powerbi_embed", [powerBI::getController(), "mo_api_powerbi_embed_api_handler"]);
add_shortcode("MO_API_POWER_BI", [powerBI::getController(), "mo_api_embed_shortcode_power_bi"]);
}
function mo_api_set_extended_gravatar($OQ, $cp)
{
return isset($cp["item_id"]) ? get_avatar($cp["item_id"]) : $OQ;
}
function mo_api_admin_menu()
{
$l1 = add_menu_page("MiniOrange API Integrator Settings" . __("Configure API Configuration", "mo_api_default_text"), "miniOrange Power BI Embed Reports", "administrator", "mo_api", [adminView::getView(), "mo_api_admin_menu_function"], plugin_dir_url(__FILE__) . "images/miniorange.png");
}
public function restart_batch()
{
if (check_ajax_referer(WP_Batch_Processor_Admin::NONCE, "nonce", false)) {
goto ed;
}
wp_send_json_error(array("message" => "Permission denied."));
exit;
ed:
$XR = isset($_REQUEST["batch_id"]) ? $_REQUEST["batch_id"] : false;
if ($XR) {
goto Rf;
}
wp_send_json_error(array("message" => "Invalid batch id"));
exit;
Rf:
$uH = WP_Batch_Processor::get_instance()->get_batch($XR);
if (!($XR == "clear_unmatched_users")) {
goto z_;
}
wpWrapper::mo_api_delete_option("mo_api_users_need_to_be_cleared");
wpWrapper::mo_api_delete_option("mo_api_list_of_users_added_to_delete");
z_:
$uH->restart();
wp_send_json_success();
}
public function process_next_item()
{
if (check_ajax_referer(WP_Batch_Processor_Admin::NONCE, "nonce", false)) {
goto No;
}
wp_send_json_error(array("message" => "Permission denied."));
exit;
No:
$XR = isset($_REQUEST["batch_id"]) ? $_REQUEST["batch_id"] : false;
if ($XR) {
goto kW;
}
wp_send_json_error(array("message" => "Invalid batch id"));
exit;
kW:
$uH = WP_Batch_Processor::get_instance()->get_batch($XR);
$n_ = $uH->get_next_item();
$L7 = false === $n_;
if ($L7) {
goto GW;
}
@set_time_limit(0);
$Vx = $uH->process($n_);
$uH->mark_as_processed($n_->id);
$oL = $uH->get_processed_count();
$OD = $uH->get_items_count();
$eW = $uH->get_percentage();
if (is_wp_error($Vx)) {
goto EZ;
}
$Gr = apply_filters("dg_batch_item_success_message", "Processed item with id " . $n_->id, $n_);
wp_send_json_success(array("message" => $Gr, "is_finished" => 0, "total_processed" => $oL, "total_items" => $OD, "percentage" => $eW));
goto FG;
EZ:
if ($XR == "clear_unmatched_users") {
goto ZD;
}
if ($XR == "sync_users_to_ad") {
goto HA;
}
$QW = apply_filters("dg_batch_item_error_message", "Error processing item with id " . $n_->id . ": " . $Vx->get_error_message(), $n_);
goto HT;
HA:
$QW = apply_filters("dg_batch_item_error_message", "Item with id " . $n_->id . ": " . $Vx->get_error_message(), $n_);
HT:
goto oX;
ZD:
$QW = apply_filters("dg_batch_item_error_message", "Item with id " . $n_->get_value("useremail") . ": " . $Vx->get_error_message(), $n_);
oX:
wp_send_json_error(array("message" => $QW, "is_finished" => 0, "total_processed" => $oL, "total_items" => $OD, "percentage" => $eW));
FG:
exit;
goto rP;
GW:
$oL = $uH->get_processed_count();
$OD = $uH->get_items_count();
$eW = $uH->get_percentage();
$uH->finish();
wp_send_json_success(array("message" => apply_filters("dg_batch_item_error_message", __("Processing finished.", "wp-batch-processing")), "is_finished" => 1, "total_processed" => $oL, "total_items" => $OD, "percentage" => $eW));
rP:
}
function mo_api_wp_batch_processing_init()
{
$uH = new BatchProcess();
WP_Batch_Processor::get_instance()->register($uH);
}
function mo_api_settings_scripts($l1)
{
if (!($l1 != "toplevel_page_mo_api")) {
goto E_;
}
return;
E_:
wp_enqueue_script("jquery");
wp_enqueue_script("mo_api_save_settings_ajax", plugins_url("includes/js/mo_msgraph_js_handler.js", __FILE__), []);
wp_enqueue_script("wp-batch-processing", plugins_url("includes/js/processor.js", __FILE__), array("jquery"));
wp_localize_script("wp-batch-processing", "DgBatchRunner", array("ajax_url" => admin_url("admin-ajax.php"), "nonce" => wp_create_nonce("wp-batch-processing"), "delay" => apply_filters("wp_batch_processing_delay", 0), "text" => array("processing" => __("Processing...", "wp-batch-processing"), "start" => __("Start", "wp-batch-processing"))));
$gZ = plugins_url("includes/js/selectwoo.min.js", __FILE__);
$Ci = plugins_url("includes/js/select2.min.js", __FILE__);
wp_enqueue_script("mo_azos_selectwoo_js", $gZ, array("jquery"));
wp_enqueue_script("mo_azos_select2_js", $Ci, array());
}
function mo_api_settings_style($l1)
{
if (!($l1 != "toplevel_page_mo_api")) {
goto Gs;
}
return;
Gs:
$ZS = plugins_url("includes/css/mo_msgraph_settings.css", __FILE__);
$FV = plugins_url("includes/css/selectwoo.min.css", __FILE__);
wp_enqueue_style("mo_api_css", $ZS, array());
wp_enqueue_style("mo_api_selectwoo_css", $FV, array());
}
}
new moApiIntegrator();
?>
Did this file decode correctly?
Original Code
<?php
/*
Plugin Name: MiniOrange Power BI Embed Reports Premium
Plugin URI: http://miniorange.com/
Description: This plugin will allow you to embed Power BI reports,dashboards etc with additional embed settings and also could configure RLS .
Version: 21.0.0
Author: miniOrange
Author URI: http://miniorange.com/
*/
namespace moApiIntegrator;
use moApiIntegrator\Controller\adminController;
use moApiIntegrator\Controller\BatchProcess;
use moApiIntegrator\Controller\moBackground;
use moApiIntegrator\Integrate\powerBI;
use moApiIntegrator\Observer\baseObserver;
use moApiIntegrator\Observer\pbiObserver;
use moApiIntegrator\View\adminView;
use moApiIntegrator\Wrapper\wpCron;
use moApiIntegrator\Wrapper\wpWrapper;
use WP_Batch_Processor;
use WP_Batch_Processor_Admin;
define("\115\117\137\x41\120\111\x5f\120\114\x55\107\111\116\137\x44\x49\122", dirname(__FILE__) . "\x2f");
define("\x4d\117\137\101\x50\111\x5f\x50\114\125\x47\111\116\x5f\106\111\114\x45", dirname(__FILE__) . "\x2f\155\157\55\141\x70\x69\55\x69\156\164\x65\x67\162\x61\x74\x6f\162\x2e\160\x68\160");
require_once __DIR__ . "\x2f\x76\145\x6e\144\x6f\162\x2f\141\x75\x74\157\154\157\x61\x64\x2e\160\150\x70";
class moApiIntegrator
{
function __construct()
{
add_action("\141\144\155\151\x6e\137\155\145\x6e\x75", [$this, "\x6d\157\x5f\x61\x70\x69\x5f\141\144\155\151\156\137\155\145\156\x75"]);
add_action("\x61\144\x6d\x69\156\137\x65\156\161\165\145\165\x65\137\163\143\162\x69\160\164\x73", [$this, "\155\157\137\x61\160\x69\137\x73\145\x74\x74\151\x6e\x67\163\137\163\143\x72\151\x70\164\163"]);
add_action("\141\144\155\151\x6e\x5f\x65\x6e\161\x75\x65\x75\x65\137\x73\x63\x72\151\160\164\163", [$this, "\155\157\x5f\141\x70\151\137\163\145\164\x74\151\156\147\x73\137\163\164\171\x6c\145"]);
add_action("\167\160\x5f\142\x61\x74\143\x68\137\160\162\x6f\143\145\x73\x73\x69\156\147\137\151\156\151\x74", [$this, "\155\157\x5f\x61\x70\x69\137\167\160\x5f\x62\141\164\143\150\x5f\160\x72\x6f\143\145\x73\163\x69\x6e\147\137\x69\x6e\151\x74"], 15, 1);
add_action("\141\x64\155\151\156\137\x69\x6e\151\164", [adminController::getController(), "\155\157\x5f\141\x70\151\x5f\141\x64\x6d\151\156\x5f\x6f\142\163\x65\162\166\x65\162"]);
add_action("\151\x6e\x69\164", [baseObserver::getObserver(), "\x6d\x6f\x5f\x61\x70\151\137\x69\x6e\151\164\x5f\x6f\142\163\145\162\166\145\x72"]);
add_filter("\143\162\157\156\137\x73\x63\150\x65\x64\x75\x6c\x65\163", [wpCron::getCron(), "\155\x6f\137\141\160\151\x5f\143\162\x6f\x6e\x5f\x63\165\x73\164\x6f\x6d\137\163\x63\x68\x65\144\x75\154\x65"]);
add_filter("\147\x65\164\x5f\x61\x76\x61\x74\141\x72", [baseObserver::getObserver(), "\155\x6f\137\x61\x70\x69\x5f\163\x65\x74\137\x67\x72\x61\166\141\x74\x61\162"], 100000, 5);
add_action("\160\x6c\165\x67\151\x6e\x73\x5f\x6c\x6f\x61\x64\x65\x64", [moBackground::getController(), "\155\157\x5f\141\160\x69\x5f\x61\172\157\163\x5f\162\165\156\x5f\142\x67\x5f\160\162\157\x63\x65\163\x73"], 1);
add_action("\x77\x70\x5f\x61\x6a\x61\x78\x5f\x64\x67\x5f\x72\x65\163\164\x61\x72\x74\x5f\x62\141\164\x63\x68", array($this, "\x72\x65\x73\164\141\x72\164\x5f\x62\141\164\143\150"));
add_action("\167\x70\137\141\152\x61\x78\x5f\144\x67\x5f\x70\162\157\x63\x65\x73\x73\x5f\156\x65\170\164\137\142\x61\x74\143\x68\x5f\x69\x74\145\x6d", array($this, "\160\162\157\143\145\163\x73\137\x6e\145\170\164\x5f\151\x74\145\155"));
add_action("\165\x73\145\162\x5f\162\x65\x67\x69\163\x74\x65\x72", [adminController::getController(), "\x6d\x6f\x5f\141\160\x69\137\x63\162\145\141\x74\x65\x5f\165\x73\x65\162\x73\x5f\141\160\x70"], 10, 2);
add_action("\160\162\x6f\146\x69\x6c\145\137\165\x70\144\141\164\145", [adminController::getController(), "\x6d\x6f\137\141\x7a\157\163\137\x75\160\x64\x61\x74\145\137\165\163\x65\x72\x73\137\x61\x70\160"], 10, 1);
add_action("\155\x6f\137\141\160\151\x5f\x75\x73\145\x72\137\x64\145\x6c\164\x61\137\x73\171\x6e\x63\137\141\143\164\151\157\x6e", [wpCron::getCron(), "\155\x6f\137\x61\160\151\x5f\165\x73\145\x72\x5f\x64\x65\x6c\x74\141\137\163\171\156\143\137\141\143\164\x69\x6f\x6e"]);
if (!(function_exists("\151\x73\x5f\160\154\165\x67\151\156\x5f\x61\143\164\151\x76\x65") && is_plugin_active("\x62\x75\x64\x64\171\x70\162\145\x73\163\57\x62\x70\55\x6c\157\x61\144\145\162\x2e\160\x68\160"))) {
goto g_;
}
add_filter("\142\160\137\143\x6f\x72\145\x5f\x66\x65\164\x63\150\x5f\x61\x76\141\164\x61\x72", array($this, "\x6d\157\137\141\160\x69\x5f\163\145\164\137\145\170\164\145\x6e\x64\x65\144\137\x67\x72\x61\x76\141\x74\141\162"), 10, 2);
g_:
add_action("\x77\160\x5f\x61\152\141\x78\137\x6d\x6f\x5f\x61\160\x69\x5f\160\157\x77\145\x72\x62\151", [pbiObserver::getObserver(), "\x6d\x6f\x5f\141\160\x69\x5f\160\x62\151\137\x6f\x62\x73\145\162\x76\145\162"]);
add_action("\x77\x70\137\141\152\141\170\x5f\x6e\x6f\x70\x72\151\x76\x5f\155\157\x5f\141\160\151\x5f\160\157\167\x65\x72\142\x69", [pbiObserver::getObserver(), "\x6d\x6f\x5f\141\160\151\x5f\160\142\x69\x5f\x6f\x62\x73\145\162\166\x65\x72"]);
add_action("\167\x70\137\x61\x6a\141\170\x5f\x6d\x6f\x5f\x61\x70\x69\x5f\x70\x6f\x77\145\x72\142\151\137\x65\x6d\x62\x65\x64", [powerBI::getController(), "\155\x6f\137\141\160\151\x5f\160\x6f\167\x65\x72\142\151\137\x65\155\x62\145\x64\137\x61\x70\151\x5f\x68\141\x6e\x64\154\x65\x72"]);
add_action("\x77\160\137\141\152\x61\170\x5f\x6e\x6f\160\162\151\x76\137\x6d\157\x5f\141\160\151\137\160\157\x77\145\162\142\x69\x5f\145\x6d\142\x65\144", [powerBI::getController(), "\x6d\x6f\x5f\x61\x70\x69\x5f\160\157\167\145\162\142\x69\137\145\x6d\142\145\x64\x5f\x61\x70\151\x5f\150\x61\156\x64\x6c\x65\162"]);
add_shortcode("\x4d\117\x5f\x41\120\x49\x5f\x50\117\x57\105\x52\137\x42\x49", [powerBI::getController(), "\155\x6f\x5f\x61\160\x69\x5f\x65\x6d\142\145\x64\x5f\163\x68\157\x72\x74\x63\x6f\144\x65\137\x70\157\x77\x65\x72\137\142\151"]);
}
function mo_api_set_extended_gravatar($OQ, $cp)
{
return isset($cp["\x69\x74\x65\155\137\x69\x64"]) ? get_avatar($cp["\151\164\x65\155\137\151\144"]) : $OQ;
}
function mo_api_admin_menu()
{
$l1 = add_menu_page("\x4d\151\x6e\151\117\x72\x61\156\147\x65\x20\x41\x50\x49\40\111\x6e\x74\145\x67\162\141\x74\x6f\x72\x20\x53\x65\x74\164\x69\x6e\x67\x73" . __("\103\157\x6e\146\x69\x67\x75\x72\145\x20\x41\120\x49\40\x43\157\156\146\x69\147\165\162\141\164\151\x6f\x6e", "\155\157\x5f\x61\160\151\137\x64\x65\x66\141\x75\x6c\164\x5f\164\145\170\164"), "\155\x69\x6e\x69\117\162\141\x6e\x67\145\x20\120\157\167\145\x72\x20\102\111\40\105\155\x62\x65\x64\x20\x52\x65\160\157\x72\164\163", "\x61\144\x6d\x69\156\x69\x73\164\x72\x61\x74\157\x72", "\x6d\157\x5f\x61\160\151", [adminView::getView(), "\x6d\157\x5f\141\160\151\137\141\x64\x6d\x69\x6e\137\155\145\156\x75\x5f\x66\165\156\x63\x74\151\x6f\x6e"], plugin_dir_url(__FILE__) . "\151\155\141\147\x65\x73\x2f\155\151\x6e\151\157\162\141\156\147\x65\56\160\156\147");
}
public function restart_batch()
{
if (check_ajax_referer(WP_Batch_Processor_Admin::NONCE, "\156\157\156\143\x65", false)) {
goto ed;
}
wp_send_json_error(array("\155\x65\x73\x73\141\x67\x65" => "\x50\x65\162\x6d\151\x73\163\x69\157\156\40\x64\145\156\x69\x65\x64\56"));
exit;
ed:
$XR = isset($_REQUEST["\142\x61\x74\143\150\137\x69\144"]) ? $_REQUEST["\142\x61\x74\x63\150\137\x69\x64"] : false;
if ($XR) {
goto Rf;
}
wp_send_json_error(array("\x6d\145\163\x73\141\x67\145" => "\x49\x6e\166\x61\x6c\x69\x64\40\142\141\x74\143\x68\x20\x69\144"));
exit;
Rf:
$uH = WP_Batch_Processor::get_instance()->get_batch($XR);
if (!($XR == "\x63\154\145\141\x72\x5f\x75\156\155\141\164\143\150\x65\x64\137\x75\x73\145\x72\x73")) {
goto z_;
}
wpWrapper::mo_api_delete_option("\x6d\157\137\x61\160\x69\x5f\165\x73\x65\x72\x73\x5f\156\x65\145\x64\x5f\x74\157\x5f\x62\x65\x5f\143\x6c\145\x61\162\145\x64");
wpWrapper::mo_api_delete_option("\155\x6f\137\x61\160\x69\137\154\x69\163\164\137\x6f\x66\x5f\x75\163\x65\162\x73\137\141\x64\x64\145\x64\137\x74\157\x5f\144\145\154\x65\x74\x65");
z_:
$uH->restart();
wp_send_json_success();
}
public function process_next_item()
{
if (check_ajax_referer(WP_Batch_Processor_Admin::NONCE, "\x6e\x6f\156\x63\x65", false)) {
goto No;
}
wp_send_json_error(array("\155\x65\x73\163\x61\147\145" => "\x50\x65\162\155\151\x73\163\x69\157\156\x20\144\x65\156\x69\145\144\56"));
exit;
No:
$XR = isset($_REQUEST["\x62\x61\x74\143\150\x5f\151\x64"]) ? $_REQUEST["\x62\141\164\143\150\137\x69\144"] : false;
if ($XR) {
goto kW;
}
wp_send_json_error(array("\x6d\145\163\163\x61\147\145" => "\111\x6e\x76\x61\x6c\x69\144\40\142\x61\x74\x63\x68\x20\x69\144"));
exit;
kW:
$uH = WP_Batch_Processor::get_instance()->get_batch($XR);
$n_ = $uH->get_next_item();
$L7 = false === $n_;
if ($L7) {
goto GW;
}
@set_time_limit(0);
$Vx = $uH->process($n_);
$uH->mark_as_processed($n_->id);
$oL = $uH->get_processed_count();
$OD = $uH->get_items_count();
$eW = $uH->get_percentage();
if (is_wp_error($Vx)) {
goto EZ;
}
$Gr = apply_filters("\144\147\x5f\x62\x61\x74\x63\150\x5f\151\164\145\x6d\x5f\163\x75\x63\143\145\x73\163\x5f\x6d\145\163\x73\141\147\x65", "\120\162\x6f\x63\145\x73\x73\145\x64\40\151\x74\145\155\x20\167\151\x74\x68\x20\x69\144\x20" . $n_->id, $n_);
wp_send_json_success(array("\155\x65\163\x73\141\147\x65" => $Gr, "\151\x73\137\146\x69\x6e\151\x73\150\145\x64" => 0, "\x74\x6f\x74\141\x6c\x5f\x70\x72\157\143\145\163\163\145\144" => $oL, "\x74\x6f\x74\x61\x6c\x5f\151\164\x65\155\163" => $OD, "\160\x65\x72\x63\x65\x6e\x74\x61\x67\145" => $eW));
goto FG;
EZ:
if ($XR == "\x63\154\x65\141\x72\137\165\x6e\x6d\141\x74\x63\150\x65\144\x5f\x75\163\x65\x72\163") {
goto ZD;
}
if ($XR == "\x73\x79\x6e\x63\x5f\x75\x73\x65\x72\163\x5f\x74\157\x5f\141\x64") {
goto HA;
}
$QW = apply_filters("\144\147\x5f\142\141\164\143\x68\137\x69\x74\x65\x6d\137\x65\162\162\157\x72\137\155\x65\163\163\141\x67\145", "\105\x72\162\157\162\40\x70\x72\x6f\x63\145\163\x73\151\x6e\x67\x20\x69\x74\x65\155\40\x77\x69\x74\150\x20\151\x64\40" . $n_->id . "\x3a\40" . $Vx->get_error_message(), $n_);
goto HT;
HA:
$QW = apply_filters("\144\x67\137\x62\x61\164\143\x68\137\x69\x74\x65\x6d\x5f\x65\162\162\157\x72\137\x6d\x65\x73\163\141\147\145", "\x49\164\x65\155\x20\167\151\x74\x68\x20\x69\144\40" . $n_->id . "\x3a\40" . $Vx->get_error_message(), $n_);
HT:
goto oX;
ZD:
$QW = apply_filters("\144\147\137\142\x61\164\143\150\137\x69\164\x65\155\137\x65\x72\x72\x6f\162\x5f\x6d\x65\163\x73\x61\x67\x65", "\111\164\145\155\x20\x77\x69\164\x68\x20\x69\144\x20" . $n_->get_value("\165\x73\145\x72\x65\155\x61\151\x6c") . "\72\40" . $Vx->get_error_message(), $n_);
oX:
wp_send_json_error(array("\155\145\x73\x73\x61\x67\145" => $QW, "\151\163\137\146\151\x6e\151\163\x68\145\144" => 0, "\164\157\x74\141\154\137\x70\162\157\x63\145\x73\163\145\144" => $oL, "\164\157\x74\141\154\137\151\164\145\155\x73" => $OD, "\160\x65\x72\143\x65\156\x74\141\147\145" => $eW));
FG:
exit;
goto rP;
GW:
$oL = $uH->get_processed_count();
$OD = $uH->get_items_count();
$eW = $uH->get_percentage();
$uH->finish();
wp_send_json_success(array("\155\x65\163\x73\141\x67\145" => apply_filters("\x64\x67\137\142\x61\x74\143\x68\x5f\151\164\x65\x6d\137\x65\162\162\157\162\137\155\x65\x73\x73\x61\x67\x65", __("\x50\162\x6f\x63\145\163\x73\x69\156\147\40\x66\x69\x6e\x69\x73\150\145\144\x2e", "\167\160\55\x62\x61\164\143\x68\55\160\x72\157\143\x65\163\x73\151\x6e\x67")), "\151\x73\137\x66\151\156\151\x73\150\145\x64" => 1, "\x74\x6f\164\x61\x6c\x5f\x70\162\157\143\145\163\x73\145\x64" => $oL, "\164\x6f\164\141\x6c\137\151\164\x65\155\163" => $OD, "\x70\145\x72\143\145\156\164\x61\x67\145" => $eW));
rP:
}
function mo_api_wp_batch_processing_init()
{
$uH = new BatchProcess();
WP_Batch_Processor::get_instance()->register($uH);
}
function mo_api_settings_scripts($l1)
{
if (!($l1 != "\x74\157\160\154\145\x76\x65\x6c\x5f\160\141\x67\145\x5f\155\157\137\141\160\151")) {
goto E_;
}
return;
E_:
wp_enqueue_script("\152\161\165\145\162\x79");
wp_enqueue_script("\155\157\x5f\141\160\x69\x5f\x73\141\166\145\x5f\x73\145\x74\x74\151\156\x67\x73\x5f\141\x6a\141\x78", plugins_url("\151\156\143\154\165\x64\145\163\57\152\163\x2f\x6d\x6f\x5f\x6d\x73\147\x72\x61\160\150\137\152\x73\x5f\150\141\x6e\x64\x6c\145\162\x2e\x6a\163", __FILE__), []);
wp_enqueue_script("\x77\x70\55\x62\141\164\x63\150\55\160\x72\x6f\143\x65\x73\x73\x69\x6e\x67", plugins_url("\x69\156\x63\154\x75\x64\x65\163\x2f\x6a\163\57\160\162\x6f\x63\145\163\163\x6f\162\x2e\x6a\163", __FILE__), array("\x6a\161\165\145\162\x79"));
wp_localize_script("\167\160\x2d\142\x61\x74\143\150\55\160\162\157\143\145\163\x73\151\x6e\x67", "\x44\147\x42\141\x74\143\150\122\x75\x6e\156\145\162", array("\141\152\141\170\137\x75\x72\154" => admin_url("\x61\144\155\151\x6e\x2d\141\x6a\x61\x78\56\160\x68\x70"), "\156\157\156\x63\145" => wp_create_nonce("\x77\x70\x2d\142\x61\164\x63\x68\55\x70\x72\x6f\143\x65\x73\x73\151\156\x67"), "\x64\x65\154\141\x79" => apply_filters("\167\x70\137\142\x61\164\143\150\x5f\160\162\157\x63\145\x73\x73\151\x6e\147\x5f\144\145\154\141\171", 0), "\x74\145\x78\x74" => array("\x70\x72\157\143\x65\x73\163\x69\x6e\x67" => __("\120\x72\157\x63\145\x73\163\x69\156\x67\56\x2e\x2e", "\x77\x70\x2d\142\x61\x74\143\150\55\160\162\x6f\143\x65\x73\163\151\156\x67"), "\x73\164\141\x72\164" => __("\x53\164\141\x72\x74", "\x77\x70\55\x62\x61\x74\x63\x68\55\x70\162\x6f\143\x65\x73\x73\x69\156\x67"))));
$gZ = plugins_url("\x69\x6e\x63\x6c\165\144\145\163\x2f\152\x73\57\x73\x65\x6c\x65\143\164\x77\157\x6f\56\x6d\151\156\x2e\x6a\x73", __FILE__);
$Ci = plugins_url("\151\156\x63\x6c\165\144\x65\x73\57\152\163\57\163\145\x6c\145\x63\164\x32\56\x6d\151\156\56\x6a\163", __FILE__);
wp_enqueue_script("\155\x6f\x5f\x61\172\157\x73\137\x73\x65\x6c\x65\x63\164\167\157\x6f\137\152\x73", $gZ, array("\x6a\161\165\x65\x72\171"));
wp_enqueue_script("\155\x6f\137\141\x7a\x6f\163\137\x73\x65\x6c\x65\x63\164\x32\137\x6a\163", $Ci, array());
}
function mo_api_settings_style($l1)
{
if (!($l1 != "\164\157\160\x6c\x65\166\145\154\x5f\x70\141\147\x65\x5f\155\x6f\137\x61\160\151")) {
goto Gs;
}
return;
Gs:
$ZS = plugins_url("\x69\x6e\x63\154\165\x64\x65\x73\x2f\x63\163\x73\57\155\x6f\x5f\x6d\x73\147\x72\x61\x70\x68\137\163\x65\x74\x74\151\156\147\x73\x2e\143\163\163", __FILE__);
$FV = plugins_url("\x69\x6e\143\154\x75\144\x65\x73\x2f\x63\163\x73\x2f\x73\145\x6c\x65\x63\x74\x77\x6f\x6f\56\x6d\151\x6e\56\x63\x73\163", __FILE__);
wp_enqueue_style("\155\x6f\137\x61\160\x69\137\x63\163\163", $ZS, array());
wp_enqueue_style("\x6d\x6f\137\141\x70\151\x5f\163\145\x6c\x65\x63\x74\167\x6f\157\x5f\143\x73\x73", $FV, array());
}
}
new moApiIntegrator();
Function Calls
None |
Stats
MD5 | fd41c3c096fa9637f520bc5b0aca455e |
Eval Count | 0 |
Decode Time | 73 ms |