Server IP : 172.67.157.199 / Your IP : 18.118.138.16 [ Web Server : Apache System : Linux b70eb322-3aee-0c53-7c82-0db91281f2c6.secureserver.net 6.1.90-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 2 12:09:22 EDT 2024 x86_64 User : root ( 0) PHP Version : 8.0.30.2 Disable Function : NONE Domains : 0 Domains MySQL : ON | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/wp-content/plugins/wp-all-export/classes/ |
Upload File : |
<?php class PMXE_Installer { const MIN_PHP_VERSION = "5.3.0"; const WRONG_PHP_VERSION_MESSAGE = "WP All Export requires PHP %1s or greater, you are using PHP %2s. Please contact your host and tell them to update your server to at least PHP %1s."; public function checkActivationConditions() { if (version_compare(phpversion(), self::MIN_PHP_VERSION , "<")) { $this->error(sprintf( self::WRONG_PHP_VERSION_MESSAGE, self::MIN_PHP_VERSION, phpversion(), self::MIN_PHP_VERSION )); } } private function error($message){ $message = __(esc_html($message)); $error = <<<EOT <style type="text/css"> body, html { margin: 0; padding: 0; } </style> <div class="error"> <p style="padding-left:2px; font-size:13px; color: #444; font-family: 'Open Sans',sans-serif; -webkit-font-smoothing: subpixel-antialiased;"> $message </p> </div> EOT; echo wp_kses_post($error); die; } }