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:
@ -9,7 +9,7 @@
|
||||
|
||||
<ul class="lg:wu-flex wu-my-0 wu-mx-0">
|
||||
|
||||
<li class="wu-p-2 wu-w-full md:wu-w-4/12 wu-relative" <?php echo wu_tooltip_text(__('MRR stands for Monthly Recurring Revenue', 'wp-ultimo')); ?>>
|
||||
<li class="wu-p-2 wu-w-full md:wu-w-4/12 wu-relative" <?php echo wu_tooltip_text(__('MRR stands for Monthly Recurring Revenue', 'wp-multisite-waas')); ?>>
|
||||
|
||||
<div>
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
</div>
|
||||
|
||||
<div class="wu-text-md wu-text-gray-600">
|
||||
<span class="wu-block"><?php _e('MRR', 'wp-ultimo'); ?></span>
|
||||
<span class="wu-block"><?php esc_html_e('MRR', 'wp-multisite-waas'); ?></span>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
@ -36,7 +36,7 @@
|
||||
</div>
|
||||
|
||||
<div class="wu-text-md wu-text-gray-600">
|
||||
<span class="wu-block"><?php _e('Gross Revenue', 'wp-ultimo'); ?></span>
|
||||
<span class="wu-block"><?php esc_html_e('Gross Revenue', 'wp-multisite-waas'); ?></span>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
@ -52,7 +52,7 @@
|
||||
</div>
|
||||
|
||||
<div class="wu-text-md wu-text-gray-600">
|
||||
<span class="wu-block"><?php _e('Refunded', 'wp-ultimo'); ?></span>
|
||||
<span class="wu-block"><?php esc_html_e('Refunded', 'wp-multisite-waas'); ?></span>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
@ -65,8 +65,8 @@
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th><?php _e('Product', 'wp-ultimo'); ?></th>
|
||||
<th class="wu-text-right"><?php _e('Revenue', 'wp-ultimo'); ?></th>
|
||||
<th><?php esc_html_e('Product', 'wp-multisite-waas'); ?></th>
|
||||
<th class="wu-text-right"><?php esc_html_e('Revenue', 'wp-multisite-waas'); ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
@ -91,7 +91,7 @@
|
||||
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<?php _e('No Products found.', 'wp-ultimo'); ?>
|
||||
<?php esc_html_e('No Products found.', 'wp-multisite-waas'); ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
Reference in New Issue
Block a user