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

@ -76,7 +76,7 @@ class Country_CA extends Country {
*/
public function get_name() {
return __('Canada', 'wp-ultimo');
return __('Canada', 'wp-multisite-waas');
}
/**
@ -88,19 +88,19 @@ class Country_CA extends Country {
protected function states() {
return [
'AB' => __('Alberta', 'wp-ultimo'),
'BC' => __('British Columbia', 'wp-ultimo'),
'MB' => __('Manitoba', 'wp-ultimo'),
'NB' => __('New Brunswick', 'wp-ultimo'),
'NL' => __('Newfoundland and Labrador', 'wp-ultimo'),
'NT' => __('Northwest Territories', 'wp-ultimo'),
'NS' => __('Nova Scotia', 'wp-ultimo'),
'NU' => __('Nunavut', 'wp-ultimo'),
'ON' => __('Ontario', 'wp-ultimo'),
'PE' => __('Prince Edward Island', 'wp-ultimo'),
'QC' => __('Quebec', 'wp-ultimo'),
'SK' => __('Saskatchewan', 'wp-ultimo'),
'YT' => __('Yukon', 'wp-ultimo'),
'AB' => __('Alberta', 'wp-multisite-waas'),
'BC' => __('British Columbia', 'wp-multisite-waas'),
'MB' => __('Manitoba', 'wp-multisite-waas'),
'NB' => __('New Brunswick', 'wp-multisite-waas'),
'NL' => __('Newfoundland and Labrador', 'wp-multisite-waas'),
'NT' => __('Northwest Territories', 'wp-multisite-waas'),
'NS' => __('Nova Scotia', 'wp-multisite-waas'),
'NU' => __('Nunavut', 'wp-multisite-waas'),
'ON' => __('Ontario', 'wp-multisite-waas'),
'PE' => __('Prince Edward Island', 'wp-multisite-waas'),
'QC' => __('Quebec', 'wp-multisite-waas'),
'SK' => __('Saskatchewan', 'wp-multisite-waas'),
'YT' => __('Yukon', 'wp-multisite-waas'),
];
}
}