Site Health: Correctly refer to an `.htaccess` file as hidden.

The preceding period (`.`) should always be included when referring to an `.htaccess` file.

Props: ianbelanger, garrett-eclipse, subrataemfluence, burhandodhy.
Fixes #46841.

git-svn-id: https://develop.svn.wordpress.org/trunk@45171 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jonathan Desrosiers 2019-04-12 17:49:04 +00:00
parent 94b6167a04
commit 908b8238b9
1 changed files with 2 additions and 2 deletions

View File

@ -763,8 +763,8 @@ class WP_Debug_Data {
$filtered_htaccess_content = ! empty( $filtered_htaccess_content );
$info['wp-server']['fields']['htaccess_extra_rules'] = array(
'label' => __( 'htaccess rules' ),
'value' => ( $filtered_htaccess_content ? __( 'Custom rules have been added to your htaccess file.' ) : __( 'Your htaccess file contains only core WordPress features.' ) ),
'label' => __( '.htaccess rules' ),
'value' => ( $filtered_htaccess_content ? __( 'Custom rules have been added to your .htaccess file.' ) : __( 'Your .htaccess file contains only core WordPress features.' ) ),
'debug' => $filtered_htaccess_content,
);
}