php_version, '>' );
$php_version_recommend = version_compare( $php_version, '7', '<' );
$wp_version_ok = version_compare( $wp_version, rank_math()->wordpress_version, '>' );
$dom_ext = extension_loaded( 'dom' );
$simplexml_ext = extension_loaded( 'SimpleXML' );
$gd_ext = extension_loaded( 'gd' );
$all_good = $php_version_ok && $wp_version_ok && $dom_ext && $simplexml_ext && $gd_ext;
if ( $all_good ) :
?>
|
' . esc_html__( 'More information', 'rank-math' ) . '' : esc_html__( 'This plugin is compatible with your PHP version but we recommend updating to PHP 7.2 for increased speed and security.', 'rank-math' ); ?> |
|
|---|---|
| ' ) . sprintf( esc_html__( 'Your WordPress Version: %s | Recommended version: 4.4+', 'rank-math' ), $wp_version ) . ( is_multisite() ? '' : '' ); ?> | |
get_conflicting_plugins(); ?>
| ' . esc_html__( 'You can import settings in the next step.', 'rank-math' ) . '' : '' ); ?> |