%1$s
%2$s
', esc_html__( 'Heads up!', 'easy_wp_smtp-lite' ), esc_html__( 'Your site already has Easy WP SMTP Pro activated. If you want to switch to Easy WP SMTP, please first go to Plugins → Installed Plugins and deactivate Easy WP SMTP Pro. Then, you can activate Easy WP SMTP.', 'easy-wp-smtp' ) ); if ( isset( $_GET['activate'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended unset( $_GET['activate'] ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended } unset( $easy_wp_smtp_lite_just_activated, $easy_wp_smtp_lite_just_deactivated ); } } add_action( 'admin_notices', 'easy_wp_smtp_lite_notice' ); // Do not process the plugin code further. return; } if ( ! function_exists( 'easy_wp_smtp_insecure_php_version_notice' ) ) { /** * Display admin notice, if the server is using old/insecure PHP version. * * @since 2.1.0 */ function easy_wp_smtp_insecure_php_version_notice() { ?>
insecure version of PHP that is no longer supported. Please contact your web hosting provider to update your PHP version or switch to a recommended WordPress hosting company.', 'easy-wp-smtp' ),
array(
'a' => array(
'href' => array(),
'target' => array(),
'rel' => array(),
),
'strong' => array(),
)
),
'https://www.wpbeginner.com/wordpress-hosting/'
);
?>
'WordPress',
'utm_medium' => 'Admin Notice',
'utm_campaign' => is_readable( rtrim( plugin_dir_path( __FILE__ ), '/\\' ) . '/src/Pro/Pro.php' ) ? 'plugin' : 'liteplugin',
'utm_content' => 'Minimal Required PHP Version',
],
'https://easywpsmtp.com/supported-php-versions-for-easy-wp-smtp/'
);
printf(
wp_kses( /* translators: %s - EasyWPSMTP.com docs URL with more details. */
__( 'Easy WP SMTP plugin is disabled on your site until you fix the issue. Read more for additional information.', 'easy-wp-smtp' ),
array(
'a' => array(
'href' => array(),
'target' => array(),
'rel' => array(),
),
'strong' => array(),
)
),
esc_url( $doc_link )
);
?>
old version of WordPress that is no longer supported by Easy WP SMTP. Please update your WordPress site to at least version %s.', 'easy-wp-smtp' ),
[
'strong' => [],
]
),
esc_html( EasyWPSMTP_WP_VERSION )
);
?>
Easy WP SMTP plugin is disabled on your site until WordPress is updated to the required version.', 'easy-wp-smtp' ),
[
'strong' => [],
]
);
?>