Prep Plugin for release on WordPress.org

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.
This commit is contained in:
David Stone
2025-04-07 09:15:21 -06:00
parent f05ab77418
commit a815fdf179
290 changed files with 2999 additions and 3269 deletions

View File

@ -5,14 +5,16 @@
* @since 2.0.0
*/
?>
<p><?php printf(__('Hey %s,', 'wp-multisite-waas'), '{{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-multisite-waas')); ?></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-multisite-waas')); ?></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 &rarr;', 'wp-multisite-waas'); ?></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-multisite-waas'), '<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>