Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/hessa.corals.io/wp-content/plugins/loco-translate/src/compat/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home/corals/hessa.corals.io/wp-content/plugins/loco-translate/src/compat/Failure.php
<?php
/**
 * Class containing reasons for total incompatibility with current WordPress environment.
 * It won't be loaded unless total failure occurs
 * 
 * @codeCoverageIgnore
 */
abstract class Loco_compat_Failure {

    /**
     * "admin_notices" callback, renders failure notice if plugin failed to start up admin hooks.
     * If this is hooked and not unhooked then auto-hooks using annotations have failed.
     */
    public static function print_hook_failure(){
        $texts = [ 'Loco Translate failed to start up' ];
        /*/ Hooks currently not using annotations (would be if we enabled @priority tag)
        if( ini_get('opcache.enable') && ( ! ini_get('opcache.save_comments') || ! ini_get('opcache.load_comments') ) ){
            $texts[] = 'Try configuring opcache to preserve comments';
        }*/
        echo '<div class="notice error"><p><strong>Error:</strong> '.implode('. ',$texts).'</p></div>';
    }

}

Spamworldpro Mini