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

@@ -75,7 +75,7 @@ class Country_NL extends Country {
*/
public function get_name() {
return __('Netherlands', 'wp-ultimo');
return __('Netherlands', 'wp-multisite-waas');
}
/**
@@ -87,21 +87,21 @@ class Country_NL extends Country {
protected function states() {
return [
'BQ1' => __('Bonaire', 'wp-ultimo'),
'DR' => __('Drenthe', 'wp-ultimo'),
'FL' => __('Flevoland', 'wp-ultimo'),
'FR' => __('Friesland', 'wp-ultimo'),
'GE' => __('Gelderland', 'wp-ultimo'),
'GR' => __('Groningen', 'wp-ultimo'),
'LI' => __('Limburg', 'wp-ultimo'),
'NB' => __('North Brabant', 'wp-ultimo'),
'NH' => __('North Holland', 'wp-ultimo'),
'OV' => __('Overijssel', 'wp-ultimo'),
'BQ2' => __('Saba', 'wp-ultimo'),
'BQ3' => __('Sint Eustatius', 'wp-ultimo'),
'ZH' => __('South Holland', 'wp-ultimo'),
'UT' => __('Utrecht', 'wp-ultimo'),
'ZE' => __('Zeeland', 'wp-ultimo'),
'BQ1' => __('Bonaire', 'wp-multisite-waas'),
'DR' => __('Drenthe', 'wp-multisite-waas'),
'FL' => __('Flevoland', 'wp-multisite-waas'),
'FR' => __('Friesland', 'wp-multisite-waas'),
'GE' => __('Gelderland', 'wp-multisite-waas'),
'GR' => __('Groningen', 'wp-multisite-waas'),
'LI' => __('Limburg', 'wp-multisite-waas'),
'NB' => __('North Brabant', 'wp-multisite-waas'),
'NH' => __('North Holland', 'wp-multisite-waas'),
'OV' => __('Overijssel', 'wp-multisite-waas'),
'BQ2' => __('Saba', 'wp-multisite-waas'),
'BQ3' => __('Sint Eustatius', 'wp-multisite-waas'),
'ZH' => __('South Holland', 'wp-multisite-waas'),
'UT' => __('Utrecht', 'wp-multisite-waas'),
'ZE' => __('Zeeland', 'wp-multisite-waas'),
];
}
}