mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 19:46:21 +00:00
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. Built from https://develop.svn.wordpress.org/trunk@45171 git-svn-id: http://core.svn.wordpress.org/trunk@44980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6afe73667c
commit
44d977b2af
@ -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,
|
||||
);
|
||||
}
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.2-beta2-45170';
|
||||
$wp_version = '5.2-beta2-45171';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
x
Reference in New Issue
Block a user