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,19 +10,19 @@
<ul id="wu-footer-nav" class="wu-text-xs wu-pb-0">
<li class="wu-inline-block wu-mx-1 wu-font-medium">
<?php printf(__('Version %s', 'wp-ultimo'), wu_get_version()); ?>
<?php printf(__('Version %s', 'wp-multisite-waas'), wu_get_version()); ?>
</li>
<?php if (WP_Ultimo()->is_loaded()) : ?>
<li class="wu-inline-block wu-mx-1">
<a href="<?php echo wu_network_admin_url('wp-ultimo-system-info'); ?>" class="wu-text-gray-500 hover:wu-text-gray-600">
<?php _e('System Info', 'wp-ultimo'); ?>
<?php esc_html_e('System Info', 'wp-multisite-waas'); ?>
</a>
</li>
<li class="wu-inline-block wu-mx-1">
<a href="<?php echo wu_network_admin_url('wp-ultimo-shortcodes'); ?>" class="wu-text-gray-500 hover:wu-text-gray-600">
<?php _e('Available Shortcodes', 'wp-ultimo'); ?>
<?php esc_html_e('Available Shortcodes', 'wp-multisite-waas'); ?>
</a>
</li>
@@ -32,7 +32,7 @@
<li class="wu-inline-block wu-mx-1">
<a href="<?php echo wu_network_admin_url('wp-ultimo-settings'); ?>" class="wu-text-gray-500 hover:wu-text-gray-600">
<?php _e('Settings', 'wp-ultimo'); ?>
<?php esc_html_e('Settings', 'wp-multisite-waas'); ?>
</a>
</li>
@@ -42,7 +42,7 @@
<li class="wu-inline-block wu-mx-1">
<a href="<?php echo wu_network_admin_url('wp-ultimo-jobs'); ?>" class="wu-text-gray-500 hover:wu-text-gray-600">
<?php _e('Job Queue', 'wp-ultimo'); ?>
<?php esc_html_e('Job Queue', 'wp-multisite-waas'); ?>
</a>
</li>