Prep Plugin for release on WordPress.org (#23)
* Update translation text domain * Escape everything that should be escaped. * Add nonce checks where needed. * Sanitize all inputs. * Apply Code style changes across the codebase. * Correct many deprecation notices. * Optimize load order of many filters. * Add Proper Build script * Use emojii flags * Fix i18n deprecation notice for translating too early * Put all scripts in footer and load async
This commit is contained in:
@@ -5,14 +5,16 @@
|
||||
* @since 2.0.0
|
||||
*/
|
||||
?>
|
||||
<p><?php printf(__('Hey %s,', 'wp-ultimo'), '{{customer_name}}'); ?></p>
|
||||
<?php // translators: %s: Customer Name ?>
|
||||
<p><?php esc_html(sprintf(__('Hey %s,', 'wp-multisite-waas'), '{{customer_name}}')); ?></p>
|
||||
|
||||
<p><?php printf(__('Thanks for creating an account! You\'re only a step away from being ready.', 'wp-ultimo')); ?></p>
|
||||
<p><?php echo esc_html__('Thanks for creating an account! You\'re only a step away from being ready.', 'wp-multisite-waas'); ?></p>
|
||||
|
||||
<p><?php printf(__('In order to complete the activation of your account, you need to confirm your email address by clicking on the link below.', 'wp-ultimo')); ?></p>
|
||||
<p><?php echo esc_html__('In order to complete the activation of your account, you need to confirm your email address by clicking on the link below.', 'wp-multisite-waas'); ?></p>
|
||||
|
||||
<p>
|
||||
<a href="{{verification_link}}" style="text-decoration: none;" rel="nofollow" data-cy="email-verification-link"><?php _e('Verify Email Address →', 'wp-ultimo'); ?></a>
|
||||
<a href="{{verification_link}}" style="text-decoration: none;" rel="nofollow" data-cy="email-verification-link"><?php esc_html_e('Verify Email Address →', 'wp-multisite-waas'); ?></a>
|
||||
<br>
|
||||
<small><?php printf(__('or copy the link %s and paste it onto your browser', 'wp-ultimo'), '<code>{{verification_link}}</code>'); ?></small>
|
||||
<?php // translators: %s: Verification Link ?>
|
||||
<small><?php echo wp_kses_post(sprintf(__('or copy the link %s and paste it onto your browser', 'wp-multisite-waas'), '<code>{{verification_link}}</code>'), ''); ?></small>
|
||||
</p>
|
||||
|
Reference in New Issue
Block a user