You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 90310e4
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: modules/object-cache/persistent-object-cache-health-check/load.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@ function perflab_oc_health_persistent_object_cache() {
59
59
'label' => __( 'A persistent object cache is being used', 'performance-lab' ),
60
60
'description' => sprintf(
61
61
'<p>%s</p>',
62
-
__( "WordPress performs at its best when a persistent object cache is used. A persistent object cache helps to reduce load on your SQL server significantly and allows WordPress to retrieve your site's content and settings much faster.", 'performance-lab' )
62
+
__( "A persistent object cache makes your site's database more efficient, resulting in faster load times because WordPress can retrieve your site's content and settings much more quickly.", 'performance-lab' )
$base_description = __( 'Autoloaded options are configuration settings for plugins and themes that are automatically loaded with every page load in WordPress. Having too many autoloaded options can slow down your site.', 'performance-lab' );
/* translators: 1: Number of autoloaded options. 2.Autoloaded options size. */
49
-
'<p>' . esc_html__( 'The amount of %1$s autoloaded options (size: %2$s) in options table is acceptable.', 'performance-lab' ) . '</p>',
50
+
/* translators: 1. Number of autoloaded options. 2.Autoloaded options size. */
51
+
'<p>' . esc_html( $base_description ) . '' . esc_html__( 'Your site has %1$s autoloaded options (size: %2$s) in the options table, which is acceptable.', 'performance-lab' ) . '</p>',
50
52
$autoloaded_options_count,
51
53
size_format( $autoloaded_options_size )
52
54
),
@@ -69,9 +71,10 @@ function perflab_aao_autoloaded_options_test() {
69
71
70
72
$result['status'] = 'critical';
71
73
$result['badge']['color'] = 'red';
74
+
$result['label'] = esc_html__( 'Autoloaded options could affect performance', 'performance-lab' );
72
75
$result['description'] = sprintf(
73
-
/* translators: 1: Number of autoloaded options. 2.Autoloaded options size. */
74
-
'<p>' . esc_html__( 'Your website uses %1$s autoloaded options (size: %2$s). Try to reduce the number of autoloaded options or performance will be affected.', 'performance-lab' ) . '</p>',
76
+
/* translators: 1. Number of autoloaded options. 2.Autoloaded options size. */
77
+
'<p>' . esc_html( $base_description ) . '' . esc_html__( 'Your site has %1$s autoloaded options (size: %2$s) in the options table, which could cause your site to be slow. You can reduce the number of autoloaded options by cleaning up your site\'s options table.', 'performance-lab' ) . '</p>',
Copy file name to clipboardExpand all lines: modules/site-health/webp-support/load.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ function webp_uploads_check_webp_supported_test() {
42
42
),
43
43
'description' => sprintf(
44
44
'<p>%s</p>',
45
-
__( 'WebP image format is used by WordPress to improve the performance of your site by generating smaller images than it usually could with the JPEG format. This means your pages will load faster and consume less bandwidth.', 'performance-lab' )
45
+
__( 'The WebP image format produces images that are usually smaller in size than JPEG images, which can reduce page load time and consume less bandwidth.', 'performance-lab' )
46
46
),
47
47
'actions' => '',
48
48
'test' => 'is_webp_uploads_enabled',
@@ -56,7 +56,7 @@ function webp_uploads_check_webp_supported_test() {
56
56
$result['actions'] = sprintf(
57
57
'<p>%s</p>',
58
58
/* translators: Accessibility text. */
59
-
__( 'Please contact your host and ask them to add WebP support.', 'performance-lab' )
59
+
__( 'WebP support can only be enabled by your hosting provider, so contact them for more information.', 'performance-lab' )
/* translators: 1: Number of autoloaded options. 2.Autoloaded options size. */
137
-
'<p>' . esc_html__( 'Your website uses %1$s autoloaded options (size: %2$s). Try to reduce the number of autoloaded options or performance will be affected.', 'performance-lab' ) . '</p>',
138
-
$autoloaded_options_count,
139
-
size_format( $autoloaded_options_size )
140
-
);
141
-
142
-
$result['actions'] = sprintf(
143
-
/* translators: 1: HelpHub URL. 2: Link description. */
0 commit comments