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:
@ -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>
|
||||
|
||||
|
@ -58,7 +58,7 @@
|
||||
<small class="wu-ticker-container wu-hidden md:wu-inline-block">
|
||||
<strong>
|
||||
<span class="wu-inline-block wu-bg-gray-200 wu-rounded-full wu-py-1 wu-pl-2 wu-pr-3 wu-uppercase">
|
||||
<span title="<?php esc_attr_e('Server Clock', 'wp-ultimo'); ?>" class="dashicons dashicons-wu-clock wu-text-sm wu-w-auto wu-h-auto wu-align-text-top wu-mr-1 wu-relative"></span>
|
||||
<span title="<?php esc_attr_e('Server Clock', 'wp-multisite-waas'); ?>" class="dashicons dashicons-wu-clock wu-text-sm wu-w-auto wu-h-auto wu-align-text-top wu-mr-1 wu-relative"></span>
|
||||
<span id="wu-ticker" class="wu-font-mono wu-font-normal">
|
||||
<?php echo gmdate('Y-m-d H:i:s', wu_get_current_time('timestamp')); ?>
|
||||
</span>
|
||||
|
Reference in New Issue
Block a user