From 7e13238bf9870ed31dc61101506915755286a359 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 1 Mar 2025 00:27:21 +0000 Subject: [PATCH] Site Health: Fix typo in the `robots.txt` check messages. Follow-up to [59890]. See #56595. git-svn-id: https://develop.svn.wordpress.org/trunk@59894 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-debug-data.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/includes/class-wp-debug-data.php b/src/wp-admin/includes/class-wp-debug-data.php index add3362bd4..2cedc33836 100644 --- a/src/wp-admin/includes/class-wp-debug-data.php +++ b/src/wp-admin/includes/class-wp-debug-data.php @@ -510,7 +510,7 @@ class WP_Debug_Data { $robotstxt_debug = true; /* translators: %s: robots.txt */ - $robotstxt_string = sprintf( __( 'There is a static %s file in your installation folder. WordPress can not dynamicly serve one.' ), 'robots.txt' ); + $robotstxt_string = sprintf( __( 'There is a static %s file in your installation folder. WordPress cannot dynamically serve one.' ), 'robots.txt' ); } elseif ( got_url_rewrite() ) { // No robots.txt file available and rewrite rules in place, turn debug info to false. $robotstxt_debug = false; @@ -522,9 +522,10 @@ class WP_Debug_Data { $robotstxt_debug = true; /* translators: %s: robots.txt */ - $robotstxt_string = sprintf( __( 'WordPress can not dynamicly serve a %s file due to a lack of rewrite rule support' ), 'robots.txt' ); + $robotstxt_string = sprintf( __( 'WordPress cannot dynamically serve a %s file due to a lack of rewrite rule support' ), 'robots.txt' ); } + $fields['static_robotstxt_file'] = array( 'label' => __( 'robots.txt' ), 'value' => $robotstxt_string,