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:
@ -55,7 +55,7 @@ class Signup_Field_Discount_Code extends Base_Signup_Field {
|
||||
*/
|
||||
public function get_title() {
|
||||
|
||||
return __('Coupon Code', 'wp-ultimo');
|
||||
return __('Coupon Code', 'wp-multisite-waas');
|
||||
}
|
||||
|
||||
/**
|
||||
@ -68,7 +68,7 @@ class Signup_Field_Discount_Code extends Base_Signup_Field {
|
||||
*/
|
||||
public function get_description() {
|
||||
|
||||
return __('Adds an additional field to apply a discount code.', 'wp-ultimo');
|
||||
return __('Adds an additional field to apply a discount code.', 'wp-multisite-waas');
|
||||
}
|
||||
|
||||
/**
|
||||
@ -81,7 +81,7 @@ class Signup_Field_Discount_Code extends Base_Signup_Field {
|
||||
*/
|
||||
public function get_tooltip() {
|
||||
|
||||
return __('Adds an additional field to apply a discount code.', 'wp-ultimo');
|
||||
return __('Adds an additional field to apply a discount code.', 'wp-multisite-waas');
|
||||
}
|
||||
|
||||
/**
|
||||
@ -168,7 +168,7 @@ class Signup_Field_Discount_Code extends Base_Signup_Field {
|
||||
$checkout_fields['discount_code_checkbox'] = [
|
||||
'id' => 'discount_code',
|
||||
'type' => 'toggle',
|
||||
'name' => __('Have a coupon code?', 'wp-ultimo'),
|
||||
'name' => __('Have a coupon code?', 'wp-multisite-waas'),
|
||||
'class' => 'wu-w-auto',
|
||||
'html_attr' => [
|
||||
'v-model' => 'toggle_discount_code',
|
||||
|
Reference in New Issue
Block a user