░▒▓████████████████████████████████▓▒░ ░▒▓█ ▓▒░ ░▒▓█ ~ S W A M P ~ ▓▒░ ░▒▓█ ▓▒░ ░▒▓████████████████████████████████▓▒░
vps.doorgans.com
LOCATION:
/home/fotosel/.trash/wp-content/plugins/elementor/modules/wp-cli
☗ ROOT
↻ REFRESH
✎ CARVE FLESH
EDITING: cli-logger.php
<?php namespace Elementor\Modules\WpCli; use Elementor\Core\Logger\Loggers\Db; use Elementor\Core\Logger\Items\Log_Item_Interface as Log_Item_Interface; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } class Cli_Logger extends Db { public function save_log( Log_Item_Interface $item ) { $message = $item->format( 'raw' ); switch ( $item->type ) { case self::LEVEL_WARNING: \WP_CLI::warning( $message ); break; case self::LEVEL_ERROR: \WP_CLI::error( $message, false ); break; default: \WP_CLI::log( $message ); break; } parent::save_log( $item ); } }
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 cli-logger.php
PHP
620 B
2022-06-09 15:28
EDIT
📄 command.php
PHP
4.1 KB
2022-06-09 15:28
EDIT
📄 library.php
PHP
5.9 KB
2022-06-09 15:28
EDIT
📄 module.php
PHP
1.3 KB
2022-06-09 15:28
EDIT
📄 update.php
PHP
2.6 KB
2022-06-09 15:28
EDIT