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:
David Stone
2025-04-14 11:36:46 -06:00
committed by GitHub
parent a31cfcb565
commit d88e50df38
1087 changed files with 12586 additions and 18535 deletions

View File

@ -6,11 +6,11 @@
*/
?>
<h1>
<?php _e('We are almost there!', 'wp-ultimo'); ?>
<?php esc_html_e('We are almost there!', 'wp-multisite-waas'); ?>
</h1>
<p class="wu-text-lg wu-text-gray-600 wu-my-4">
<?php _e('You should have all the information we need in hand right now. The next step is to configure it.', 'wp-ultimo'); ?>
<?php esc_html_e('You should have all the information we need in hand right now. The next step is to configure it.', 'wp-multisite-waas'); ?>
</p>
<div class="wu-mt-6 wu--mx-4">
@ -33,17 +33,17 @@
href="<?php echo esc_url(wu_network_admin_url('wp-ultimo-settings', ['tab' => 'integrations'])); ?>"
class="wu-self-center button button-large wu-float-left"
>
<?php _e('&larr; Cancel', 'wp-ultimo'); ?>
<?php esc_html_e('&larr; Cancel', 'wp-multisite-waas'); ?>
</a>
<span class="wu-self-center wu-content-center">
<button name="submit" value="0" class="button button-large">
<?php _e('Add manually', 'wp-ultimo'); ?>
<?php esc_html_e('Add manually', 'wp-multisite-waas'); ?>
</button>
<button name="submit" value="1" class="wu-ml-2 button button-primary button-large">
<?php _e('Add automatically', 'wp-ultimo'); ?>
<?php esc_html_e('Add automatically', 'wp-multisite-waas'); ?>
</button>
</span>