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

@ -41,7 +41,7 @@
<span class="wu-text-xs wu-font-bold wu-uppercase wu-text-gray-600">
<?php _e('Refunds:', 'wp-multisite-waas'); ?>
<?php esc_html_e('Refunds:', 'wp-multisite-waas'); ?>
</span>
@ -57,7 +57,7 @@
<span class="wu-text-xs wu-font-bold wu-uppercase wu-text-gray-700">
<?php _e('Total:', 'wp-multisite-waas'); ?>
<?php esc_html_e('Total:', 'wp-multisite-waas'); ?>
</span>

View File

@ -21,7 +21,7 @@
<?php if ( ! empty($payment)) : ?>
<tr>
<td><span class="wu-font-bold wu-uppercase wu-text-xs wu-text-gray-700"><?php _e('Total', 'wp-multisite-waas'); ?></span></td>
<td><span class="wu-font-bold wu-uppercase wu-text-xs wu-text-gray-700"><?php esc_html_e('Total', 'wp-multisite-waas'); ?></span></td>
<td><?php echo wu_format_currency($payment->get_tax_total()); ?></td>
</tr>
<?php endif; ?>
@ -30,7 +30,7 @@
<tr>
<td colspan="2">
<?php _e('No tax rates.', 'wp-multisite-waas'); ?>
<?php esc_html_e('No tax rates.', 'wp-multisite-waas'); ?>
</td>
</tr>