WordPress.org

Make WordPress Core

Changeset 45171


Ignore:
Timestamp:
04/12/2019 05:49:04 PM (19 months ago)
Author:
desrosj
Message:

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.

File:
1 edited

Legend:

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

    r45166 r45171  
    764764
    765765            $info['wp-server']['fields']['htaccess_extra_rules'] = array(
    766                 'label' => __( 'htaccess rules' ),
    767                 'value' => ( $filtered_htaccess_content ? __( 'Custom rules have been added to your htaccess file.' ) : __( 'Your htaccess file contains only core WordPress features.' ) ),
     766                'label' => __( '.htaccess rules' ),
     767                'value' => ( $filtered_htaccess_content ? __( 'Custom rules have been added to your .htaccess file.' ) : __( 'Your .htaccess file contains only core WordPress features.' ) ),
    768768                'debug' => $filtered_htaccess_content,
    769769            );
Note: See TracChangeset for help on using the changeset viewer.