PATH:
var
/
www
/
clients
/
client1
/
web1
/
web
/
wp-content
/
sitepress-multilingual-cms
/
classes
/
requirements
<?php namespace WPML\Requirements; class WordPress { public static function checkMinimumRequiredVersion() { if ( version_compare( $GLOBALS['wp_version'], 4.4, '<' ) ) { add_action( 'admin_notices', [ __CLASS__, 'displayMissingVersionRequirementNotice' ] ); return false; } return true; } public static function displayMissingVersionRequirementNotice() { ?> <div class="error"> <p><?php esc_html_e( 'WPML is disabled because it requires WordPress version 4.4 or above.', 'sitepress' ); ?></p> </div> <?php } }
[-] class-wpml-third-party-dependencies.php
[edit]
[-] class-wpml-integrations.php
[edit]
[-] class-wpml-requirements-notifications.php
[edit]
[-] wpml-integrations-requirements-scripts.php
[edit]
[-] class-wpml-whip-requirements.php
[edit]
[+]
modules
[-] class-wpml-tm-editor-notice.php
[edit]
[-] WordPress.php
[edit]
[-] class-wpml-integrations-requirements.php
[edit]
[+]
..
[-] class-wpml-requirements.php
[edit]