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

@ -10,10 +10,11 @@
<div class="wu-self-center wu-text-center wu-w-full">
<span class="dashicons dashicons-yes-alt wu-text-green-400 wu-w-auto wu-h-auto wu-text-5xl wu-mb-2"></span>
<h1>
<?php _e('That\'s it! We are ready!', 'wp-ultimo'); ?>
<?php esc_html_e('That\'s it! We are ready!', 'wp-multisite-waas'); ?>
</h1>
<p class="wu-text-lg wu-text-gray-600 wu-my-4">
<?php printf(__('The integration with %s was correctly setup and is now ready! Now, every time a new domain is added to your platform, WP Multisite WaaS will sync that with your application automatically.', 'wp-ultimo'), $integration->get_title()); ?>
<?php // translators: % site title ?>
<?php esc_html(sprintf(__('The integration with %s was correctly setup and is now ready! Now, every time a new domain is added to your platform, WP Multisite WaaS will sync that with your application automatically.', 'wp-multisite-waas'), $integration->get_title())); ?>
</p>
</div>
@ -25,7 +26,7 @@
<span class="wu-float-right">
<a href="<?php echo esc_url(wu_network_admin_url('wp-ultimo')); ?>" class="button button-primary button-large">
<?php _e('Finish!', 'wp-ultimo'); ?>
<?php esc_html_e('Finish!', 'wp-multisite-waas'); ?>
</a>
</span>