From 479c76ce2aacf5051b59d540249b9b2c44fa88af Mon Sep 17 00:00:00 2001 From: Daniel Kossmann Date: Wed, 29 May 2024 18:35:23 -0300 Subject: [PATCH] Fixed "Wordpress" to "WordPress" --- app/models/admin/class-admin-settings.php | 6 +++--- app/templates/admin/page-settings/page-settings.php | 4 ++-- core/A2_Optimized_CLI.php | 2 +- core/A2_Optimized_DB_Optimizations.php | 4 ++-- core/A2_Optimized_Optimizations.php | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/app/models/admin/class-admin-settings.php b/app/models/admin/class-admin-settings.php index e9bb7d8..836b170 100755 --- a/app/models/admin/class-admin-settings.php +++ b/app/models/admin/class-admin-settings.php @@ -499,7 +499,7 @@ public function get_opt_performance() { 'color_class' => 'warn' ], 'a2hosting-other' => [ - 'display_text' => 'Managed Wordpress', + 'display_text' => 'Managed WordPress', 'metric_text' => '', 'explanation' => '', 'color_class' => 'success' @@ -507,7 +507,7 @@ public function get_opt_performance() { 'webperformance' => [ 'display_text' => 'Web Performance', 'metric_text' => "How does your hosting compare to A2 Hosting's best plans? With the graphs below LOWER IS BETTER.", - 'legend_text' => "Overall Wordpress Execution Time", + 'legend_text' => "Overall WordPress Execution Time", 'explanation' => 'The web performance score measures how your current host performs compared to A2 Hosting. This web performance score looks at server speed and other metrics to determine how fast your website will load, based on which hosting company & plan you host your website with.

The lower the score on the graph the faster your website will load. Not all hosting companies and plans use the same hardware. A2 Hosting uses the best server hardware on the market, focusing on speed & security. A2 Hosting also offers free site migration to help you move your existing websites to them.

Graphs are representitive of the following, and individual results may vary based on current server load, PHP version, WordPress version, etc.
@@ -549,7 +549,7 @@ public function get_opt_performance() { ], ], 'hostingmatchup_tooltips' => [ - 'wordpress_db' => 'Wordpress Database Response Time', + 'wordpress_db' => 'WordPress Database Response Time', 'filesystem' => 'Server Disk Response Time', 'mysql' => 'MYSQL Query Response Time', 'php' => 'PHP Response Time' diff --git a/app/templates/admin/page-settings/page-settings.php b/app/templates/admin/page-settings/page-settings.php index dbfac79..e60ee75 100755 --- a/app/templates/admin/page-settings/page-settings.php +++ b/app/templates/admin/page-settings/page-settings.php @@ -864,8 +864,8 @@ class="navlink-button" :class="nav.advs_class">Advanced Settings diff --git a/core/A2_Optimized_CLI.php b/core/A2_Optimized_CLI.php index 1a9328d..bc2d78b 100644 --- a/core/A2_Optimized_CLI.php +++ b/core/A2_Optimized_CLI.php @@ -595,7 +595,7 @@ public function benchmarks($args, $assoc_args) { break; case 'wordpress': if (!$output_json) { - echo "Running Wordpress benchmarks. Please wait a moment.\r\n"; + echo "Running WordPress benchmarks. Please wait a moment.\r\n"; } $result = $a2opt_benchmark->run_wordpress_benchmarks(); $result = $result['queries_per_second']; diff --git a/core/A2_Optimized_DB_Optimizations.php b/core/A2_Optimized_DB_Optimizations.php index 51a3d94..ce2f0fc 100644 --- a/core/A2_Optimized_DB_Optimizations.php +++ b/core/A2_Optimized_DB_Optimizations.php @@ -77,7 +77,7 @@ private static function zero_settings() { } /** - * Update a Wordpress setting in the toggles array. + * Update a WordPress setting in the toggles array. * * @param string $setting The setting to update in the toggles array * @param bool $value Update the setting to true or false @@ -198,7 +198,7 @@ public function remove_expired_transients() { } /** - * Optimize Wordpress tables + * Optimize WordPress tables */ public function optimize_tables() { $query = 'SHOW TABLES'; diff --git a/core/A2_Optimized_Optimizations.php b/core/A2_Optimized_Optimizations.php index faa1b48..da3cf9f 100644 --- a/core/A2_Optimized_Optimizations.php +++ b/core/A2_Optimized_Optimizations.php @@ -869,13 +869,13 @@ public function get_best_practices() { ], 'themes' => [ 'title' => 'Unused Themes', - 'description' => 'Unused, non-default themes should be deleted. For more information read the Wordpress.org Codex on WordPress Housekeeping', + 'description' => 'Unused, non-default themes should be deleted. For more information read the WordPress.org Codex on WordPress Housekeeping', 'config_url' => admin_url() . 'themes.php', 'status' => $this->is_active('themes', false), ], 'plugins' => [ 'title' => 'Inactive Plugins', - 'description' => 'Unused, inactive plugins should be deleted. WordPress will still check for updates on each plugin even if it is not active, which could slow down your site. For more information read the Wordpress.org Codex on WordPress Housekeeping', + 'description' => 'Unused, inactive plugins should be deleted. WordPress will still check for updates on each plugin even if it is not active, which could slow down your site. For more information read the WordPress.org Codex on WordPress Housekeeping', 'config_url' => admin_url() . 'plugins.php', 'status' => $this->is_active('plugins', false), ],