| @@ -1,9 +1,9 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | namespace Elementor; |
| 3 | 3 | |
| 4 | 4 | if ( ! defined( 'ABSPATH' ) ) { |
| 5 | - exit; // Exit if accessed directly. | |
| 5 | + exit; // Exit if accessed directly | |
| 6 | 6 | } |
| 7 | 7 | $user = wp_get_current_user(); |
| 8 | 8 | |
| 9 | 9 | $ajax = Plugin::$instance->common->get_component( 'ajax' ); |
| @@ -28,10 +28,10 @@ | ||
| 28 | 28 | <input type="hidden" name="action" value="elementor_beta_tester_signup" /> |
| 29 | 29 | <div id="elementor-beta-tester-form__caption"><?php echo esc_html__( 'Get Beta Updates', 'elementor' ); ?></div> |
| 30 | 30 | <div id="elementor-beta-tester-form__description"><?php echo esc_html__( 'As a beta tester, you’ll receive an update that includes a testing version of Elementor and its content directly to your Email', 'elementor' ); ?></div> |
| 31 | 31 | <div id="elementor-beta-tester-form__input-wrapper"> |
| 32 | - <input id="elementor-beta-tester-form__email" name="beta_tester_email" type="email" placeholder="<?php echo esc_attr__( 'Your Email', 'elementor' ); ?>" required value="<?php echo esc_attr( $beta_tester_email ); ?>" /> | |
| 33 | - <button id="elementor-beta-tester-form__submit" class="elementor-button"> | |
| 32 | + <input id="elementor-beta-tester-form__email" name="beta_tester_email" type="email" placeholder="<?php echo esc_html__( 'Your Email', 'elementor' ); ?>" required value="<?php echo esc_html( $beta_tester_email ); ?>" /> | |
| 33 | + <button id="elementor-beta-tester-form__submit" class="elementor-button elementor-button-success"> | |
| 34 | 34 | <span class="elementor-state-icon"> |
| 35 | 35 | <i class="eicon-loading eicon-animation-spin" aria-hidden="true"></i> |
| 36 | 36 | </span> |
| 37 | 37 | <?php echo esc_html__( 'Sign Up', 'elementor' ); ?> |
| @@ -38,9 +38,9 @@ | ||
| 38 | 38 | </button> |
| 39 | 39 | </div> |
| 40 | 40 | <div id="elementor-beta-tester-form__terms"> |
| 41 | 41 | <?php |
| 42 | - printf( | |
| 42 | + echo sprintf( | |
| 43 | 43 | /* translators: 1. "Terms of service" link, 2. "Privacy policy" link */ |
| 44 | 44 | esc_html__( 'By clicking Sign Up, you agree to Elementor\'s %1$s and %2$s', 'elementor' ), |
| 45 | 45 | sprintf( |
| 46 | 46 | '<a href="%1$s" target="_blank">%2$s</a>', |