adding back in the gzip compression to htaccess that was accidentally
removed in previous commit, renaming the h5bp htaccess to something more easily readable
This commit is contained in:
@@ -18,7 +18,7 @@ function roots_add_h5bp_htaccess($rules) {
|
|||||||
define('WP_CONTENT_DIR', ABSPATH . 'wp-content');
|
define('WP_CONTENT_DIR', ABSPATH . 'wp-content');
|
||||||
|
|
||||||
$theme_name = next(explode('/themes/', get_template_directory()));
|
$theme_name = next(explode('/themes/', get_template_directory()));
|
||||||
$filename = WP_CONTENT_DIR . '/themes/' . $theme_name . '/inc/h5bp-.htaccess';
|
$filename = WP_CONTENT_DIR . '/themes/' . $theme_name . '/inc/h5bp-htaccess';
|
||||||
|
|
||||||
$rules .= $wp_filesystem->get_contents($filename);
|
$rules .= $wp_filesystem->get_contents($filename);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user