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

@ -9,7 +9,7 @@ body {
width: 200px;
content: " ";
position: absolute;
top: 30;
top: 30px;
background: url("../../../assets/img/logo.webp");
background-size: contain;
height: 40px;

View File

@ -20,7 +20,7 @@ body {
width: 200px;
content: " ";
position: absolute;
top: 30;
top: 30px;
background: url("../../../assets/img/logo.webp");
background-size: contain;
height: 40px;

View File

@ -125,7 +125,7 @@ class Toolkit {
$args = $manager->get_arguments_schema('update' === $context);
file_put_contents(wu_path("/mpb/data/endpoint/.endpoint-$class_name-$context"), json_encode($args)); // phpcs:ignore
file_put_contents(wu_path("/mpb/data/endpoint/.endpoint-$class_name-$context"), wp_json_encode($args)); // phpcs:ignore
}
/**

View File

@ -43,7 +43,7 @@ class Overview extends \QM_Output_Html {
*/
public function name() {
return __('WP Multisite WaaS', 'wp-ultimo');
return __('WP Multisite WaaS', 'wp-multisite-waas');
}
/**
@ -105,7 +105,7 @@ class Overview extends \QM_Output_Html {
$new_menu = [
'wp-ultimo' => $this->menu(
[
'title' => esc_html__('WP Multisite WaaS', 'wp-ultimo'),
'title' => esc_html__('WP Multisite WaaS', 'wp-multisite-waas'),
'id' => 'wp-ultimo',
]
),