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:
@ -53,7 +53,7 @@ class Signup_Field_Shortcode extends Base_Signup_Field {
|
||||
*/
|
||||
public function get_title() {
|
||||
|
||||
return __('Shortcode', 'wp-ultimo');
|
||||
return __('Shortcode', 'wp-multisite-waas');
|
||||
}
|
||||
|
||||
/**
|
||||
@ -66,7 +66,7 @@ class Signup_Field_Shortcode extends Base_Signup_Field {
|
||||
*/
|
||||
public function get_description() {
|
||||
|
||||
return __('Displays the content of a given WordPress shortcode. Can be useful to inset content from other plugins inside a WP Multisite WaaS checkout form.', 'wp-ultimo');
|
||||
return __('Displays the content of a given WordPress shortcode. Can be useful to inset content from other plugins inside a WP Multisite WaaS checkout form.', 'wp-multisite-waas');
|
||||
}
|
||||
|
||||
/**
|
||||
@ -79,7 +79,7 @@ class Signup_Field_Shortcode extends Base_Signup_Field {
|
||||
*/
|
||||
public function get_tooltip() {
|
||||
|
||||
return __('Displays the content of a given WordPress shortcode. Can be useful to insert content from other plugins inside a WP Multisite WaaS checkout form.', 'wp-ultimo');
|
||||
return __('Displays the content of a given WordPress shortcode. Can be useful to insert content from other plugins inside a WP Multisite WaaS checkout form.', 'wp-multisite-waas');
|
||||
}
|
||||
|
||||
/**
|
||||
@ -133,7 +133,7 @@ class Signup_Field_Shortcode extends Base_Signup_Field {
|
||||
public function force_attributes() {
|
||||
|
||||
return [
|
||||
'name' => __('Shortcode', 'wp-ultimo'),
|
||||
'name' => __('Shortcode', 'wp-multisite-waas'),
|
||||
];
|
||||
}
|
||||
|
||||
@ -148,9 +148,9 @@ class Signup_Field_Shortcode extends Base_Signup_Field {
|
||||
return [
|
||||
'shortcode_code' => [
|
||||
'type' => 'text',
|
||||
'title' => __('Shortcode', 'wp-ultimo'),
|
||||
'placeholder' => __('e.g. [shortcode]', 'wp-ultimo'),
|
||||
'desc' => __('Please, enter the full shortcode, including [].', 'wp-ultimo'),
|
||||
'title' => __('Shortcode', 'wp-multisite-waas'),
|
||||
'placeholder' => __('e.g. [shortcode]', 'wp-multisite-waas'),
|
||||
'desc' => __('Please, enter the full shortcode, including [].', 'wp-multisite-waas'),
|
||||
],
|
||||
];
|
||||
}
|
||||
|
Reference in New Issue
Block a user