HEX
Server: LiteSpeed
System: Linux cp4.porkbun.com 5.14.0-611.20.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jan 14 06:35:04 EST 2026 x86_64
User: vxblllubpkafjsjw (1110)
PHP: 8.4.19
Disabled: NONE
Upload Files
File: /data0/brighttherapyllc.com/public_html/wp-content/plugins/loco-translate/src/error/Warning.php
<?php
/**
 * Generic warning
 */
class Loco_error_Warning extends Loco_error_Exception {
    
    /**
     * {@inheritdoc}
     */
    public function getType(){
        return 'warning';
    }


    /**
     * {@inheritdoc}
     */
    public function getTitle(){
        return __('Warning','loco-translate');
    }


    /**
     * {@inheritdoc}
     */
    public function getLevel(){
        return Loco_error_Exception::LEVEL_WARNING;
    }


    /**
     * {@inheritDoc}
     */
    public function logCli(){
        WP_CLI::warning( $this->getMessage() );
    }

}