Server IP : 172.67.158.161 / Your IP : 3.129.209.130 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/thread-self/root/home/giankuin/thietke365.net/wp-content/plugins/loco-translate/src/compat/ |
Upload File : |
<?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>'; } }