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:
parent
94b6167a04
commit
908b8238b9
@ -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,
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user