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

@ -5,28 +5,28 @@
* @since 2.0.0
*/
?>
<h1><?php _e('Instructions', 'wp-ultimo'); ?></h1>
<h1><?php esc_html_e('Instructions', 'wp-multisite-waas'); ?></h1>
<p class="wu-text-lg wu-text-gray-600 wu-my-4 wu-mb-6"><?php _e('Setting up GridPane with WP Ultimo is as easy as toggling a switch', 'wp-ultimo'); ?>!</p>
<p class="wu-text-lg wu-text-gray-600 wu-my-4 wu-mb-6"><?php esc_html_e('Setting up GridPane with WP Ultimo is as easy as toggling a switch', 'wp-multisite-waas'); ?>!</p>
<p class="wu-text-sm">
<?php _e('On the GridPane panel, go to', 'wp-ultimo'); ?> <a class="wu-no-underline" href="https://my.gridpane.com/sites" target="_blank"><?php _e('Sites', 'wp-ultimo'); ?></a>. <?php _e('Click on your network site to bring up the options modal', 'wp-ultimo'); ?>.
<?php esc_html_e('On the GridPane panel, go to', 'wp-multisite-waas'); ?> <a class="wu-no-underline" href="https://my.gridpane.com/sites" target="_blank"><?php esc_html_e('Sites', 'wp-multisite-waas'); ?></a>. <?php esc_html_e('Click on your network site to bring up the options modal', 'wp-multisite-waas'); ?>.
</p>
<div class="">
<img class="wu-w-full" src="<?php echo wu_get_asset('gridpane-1.webp', 'img/hosts'); ?>">
<img class="wu-w-full" src="<?php echo esc_url(wu_get_asset('gridpane-1.webp', 'img/hosts')); ?>">
</div>
<p class="wu-text-sm">
<?php _e('Go to the', 'wp-ultimo'); ?> <strong><?php _e('Multisite', 'wp-ultimo'); ?></strong> <?php _e('tab and toggle the', 'wp-ultimo'); ?> <strong><?php _e('WP Ultimo Integration', 'wp-ultimo'); ?></strong> <?php _e('switch', 'wp-ultimo'); ?>.
<?php esc_html_e('Go to the', 'wp-multisite-waas'); ?> <strong><?php esc_html_e('Multisite', 'wp-multisite-waas'); ?></strong> <?php esc_html_e('tab and toggle the', 'wp-multisite-waas'); ?> <strong><?php esc_html_e('WP Ultimo Integration', 'wp-multisite-waas'); ?></strong> <?php esc_html_e('switch', 'wp-multisite-waas'); ?>.
</p>
<div class="">
<img class="wu-w-full" src="<?php echo wu_get_asset('gridpane-2.webp', 'img/hosts'); ?>">
<img class="wu-w-full" src="<?php echo esc_url(wu_get_asset('gridpane-2.webp', 'img/hosts')); ?>">
</div>
<p class="wu-text-sm">
<?php _e("You're all set", 'wp-ultimo'); ?>!
<?php esc_html_e("You're all set", 'wp-multisite-waas'); ?>!
</p>