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:
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
Reference in New Issue
Block a user