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:
@ -21,7 +21,7 @@ if ( ! defined('ABSPATH')) {
|
||||
|
||||
if ( ! $signup) {
|
||||
return;
|
||||
} // end if;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
@ -52,7 +52,7 @@ $percent = 100 / $count;
|
||||
$class = 'active';
|
||||
} elseif (array_search($signup->step, array_keys($signup->steps)) > array_search($step_key, array_keys($signup->steps))) {
|
||||
$class = 'done';
|
||||
} // end if;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
@ -72,7 +72,7 @@ $percent = 100 / $count;
|
||||
|
||||
<a class="wu-signup-back-link" href="<?php echo $prev_link; ?>">
|
||||
|
||||
<?php _e('← Go Back to Previous Step', 'wp-ultimo'); ?>
|
||||
<?php esc_html_e('← Go Back to Previous Step', 'wp-multisite-waas'); ?>
|
||||
|
||||
</a>
|
||||
|
||||
|
Reference in New Issue
Block a user