Skip to content

Commit 7e13238

Browse files
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
1 parent 360732e commit 7e13238

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/wp-admin/includes/class-wp-debug-data.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ private static function get_wp_server(): array {
510510
$robotstxt_debug = true;
511511

512512
/* translators: %s: robots.txt */
513-
$robotstxt_string = sprintf( __( 'There is a static %s file in your installation folder. WordPress can not dynamicly serve one.' ), 'robots.txt' );
513+
$robotstxt_string = sprintf( __( 'There is a static %s file in your installation folder. WordPress cannot dynamically serve one.' ), 'robots.txt' );
514514
} elseif ( got_url_rewrite() ) {
515515
// No robots.txt file available and rewrite rules in place, turn debug info to false.
516516
$robotstxt_debug = false;
@@ -522,9 +522,10 @@ private static function get_wp_server(): array {
522522
$robotstxt_debug = true;
523523

524524
/* translators: %s: robots.txt */
525-
$robotstxt_string = sprintf( __( 'WordPress can not dynamicly serve a %s file due to a lack of rewrite rule support' ), 'robots.txt' );
525+
$robotstxt_string = sprintf( __( 'WordPress cannot dynamically serve a %s file due to a lack of rewrite rule support' ), 'robots.txt' );
526526

527527
}
528+
528529
$fields['static_robotstxt_file'] = array(
529530
'label' => __( 'robots.txt' ),
530531
'value' => $robotstxt_string,

0 commit comments

Comments
 (0)