mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-13 07:10:00 +01:00
Site Health: Fix typo in the robots.txt
check messages.
Follow-up to [59890]. See #56595. Built from https://develop.svn.wordpress.org/trunk@59894 git-svn-id: http://core.svn.wordpress.org/trunk@59236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d75f025337
commit
5b37e6aff1
@ -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,
|
||||
|
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.8-alpha-59893';
|
||||
$wp_version = '6.8-alpha-59894';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user