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

@ -55,7 +55,7 @@ class Signup_Field_Hidden extends Base_Signup_Field {
*/
public function get_title() {
return __('Hidden Field', 'wp-ultimo');
return __('Hidden Field', 'wp-multisite-waas');
}
/**
@ -68,7 +68,7 @@ class Signup_Field_Hidden extends Base_Signup_Field {
*/
public function get_description() {
return __('Adds a hidden field. This is useful when coupled with the "Fill from the Request" option, to load values from the URL, for example.', 'wp-ultimo');
return __('Adds a hidden field. This is useful when coupled with the "Fill from the Request" option, to load values from the URL, for example.', 'wp-multisite-waas');
}
/**
@ -81,7 +81,7 @@ class Signup_Field_Hidden extends Base_Signup_Field {
*/
public function get_tooltip() {
return __('Adds a hidden field. This is useful when coupled with the "Fill from the Request" option, to load values from the URL, for example.', 'wp-ultimo');
return __('Adds a hidden field. This is useful when coupled with the "Fill from the Request" option, to load values from the URL, for example.', 'wp-multisite-waas');
}
/**
@ -150,9 +150,9 @@ class Signup_Field_Hidden extends Base_Signup_Field {
'fixed_value' => [
'order' => 12,
'type' => 'text',
'title' => __('Pre-filled Value', 'wp-ultimo'),
'desc' => __('The field will be populated with this value. Can be overridden if the pre-fill from request option is enabled.', 'wp-ultimo'),
'placeholder' => __('e.g. blue', 'wp-ultimo'),
'title' => __('Pre-filled Value', 'wp-multisite-waas'),
'desc' => __('The field will be populated with this value. Can be overridden if the pre-fill from request option is enabled.', 'wp-multisite-waas'),
'placeholder' => __('e.g. blue', 'wp-multisite-waas'),
'tooltip' => '',
'value' => '',
],