PluginProbe
YayMail – WooCommerce Email Customizer / 4.3.3
YayMail – WooCommerce Email Customizer v4.3.3
4.4.4 4.4.3 4.4.2 4.4.1 trunk 1.9.6 2.1.4 2.1.5 3.2.2 3.2.6 3.2.7.1 3.2.8.1 3.2.9 3.3 3.3.1 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 3.3.9 3.4 3.4.1 3.4.2 3.4.3 All 55 releases
yaymail / templates / fallbacks / fallback-exists.php

fallback-exists.php in YayMail – WooCommerce Email Customizer 4.3.3, at templates/fallbacks/fallback-exists.php

25 lines 1010 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 defined( 'ABSPATH' ) || exit;
4 add_action(
5 'admin_notices',
6 function() {
7 if ( current_user_can( 'activate_plugins' ) ) {
8 ?>
9 <div class="notice notice-error is-dismissible">
10 <p>
11 <strong><?php esc_html_e( 'It looks like you have another YayMail version installed, please delete it before activating this new version. All current settings and data are still preserved.', 'yaymail' ); ?>
12 <a href="https://docs.yaycommerce.com/yaymail/getting-started/how-to-update-yaymail"><?php esc_html_e( 'Read more details.', 'yaymail' ); ?></a>
13 </strong>
14 </p>
15 </div>
16 <?php
17 // phpcs:ignore WordPress.Security.NonceVerification.Recommended
18 if ( isset( $_GET['activate'] ) ) {
19 // phpcs:ignore WordPress.Security.NonceVerification.Recommended
20 unset( $_GET['activate'] );
21 }
22 }
23 }
24 );
25