| Server IP : 77.39.210.126 / Your IP : 216.73.216.203 Web Server : Apache System : Linux v00l0v-vmpcnews.sphostserver.com 4.18.0-553.124.4.el8_10.x86_64 #1 SMP Fri May 15 04:14:14 EDT 2026 x86_64 User : artecasarepresti ( 1022) PHP Version : 7.4.33 Disable Function : dl,passthru,proc_open,proc_close,proc_terminate,shell_exec,system MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/artecasarepresti/www/wp-content/plugins/fusion-builder/inc/ |
Upload File : |
<?php
/**
* WP and PHP compatibility.
*
* Functions used to gracefully fail when the plugin doesn't meet the minimum WP or PHP versions required.
* Only call this file after initially checking that the site doesn't meet either the WP or PHP requirement.
*
* @package fusion-core
* @since 2.0
*/
add_action( 'admin_notices', 'fusion_builder_compat_upgrade_notice' );
/**
* Outputs an admin notice with the compatibility issue.
*
* @since 2.0
* @return void
*/
function fusion_builder_compat_upgrade_notice() {
echo '<div class="error">';
if ( version_compare( $GLOBALS['wp_version'], FUSION_BUILDER_MIN_WP_VER_REQUIRED, '<' ) ) {
printf(
/* Translators: 1 is the required WordPress version and 2 is the user's current version. */
'<p>' . esc_html__( 'Fusion Builder requires at least WordPress version %1$s. You are running version %2$s. Please upgrade and try again.' ) . '</p>',
esc_html( FUSION_BUILDER_MIN_WP_VER_REQUIRED ),
esc_html( $GLOBALS['wp_version'] )
);
}
if ( version_compare( PHP_VERSION, FUSION_BUILDER_MIN_PHP_VER_REQUIRED, '<' ) ) {
printf(
/* Translators: 1 is the required PHP version and 2 is the user's current version. */
'<p>' . esc_html__( 'Fusion Builder requires at least PHP version %1$s. You are running version %2$s. Please upgrade and try again.' ) . '</p>',
esc_html( FUSION_BUILDER_MIN_PHP_VER_REQUIRED ),
esc_html( PHP_VERSION )
);
}
echo '</div>';
}