Make WordPress Core

Changeset 59894


Ignore:
Timestamp:
03/01/2025 12:27:21 AM (3 months ago)
Author:
SergeyBiryukov
Message:

Site Health: Fix typo in the robots.txt check messages.

Follow-up to [59890].

See #56595.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-debug-data.php

    r59890 r59894  
    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.
     
    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' );
    526 
    527         }
     525            $robotstxt_string = sprintf( __( 'WordPress cannot dynamically serve a %s file due to a lack of rewrite rule support' ), 'robots.txt' );
     526
     527        }
     528
    528529        $fields['static_robotstxt_file'] = array(
    529530            'label' => __( 'robots.txt' ),
Note: See TracChangeset for help on using the changeset viewer.