Merge pull request #731 from tomdxw/feature/htaccess-warning

Don't warn about unwritable htaccess if that option is disabled
This commit is contained in:
Scott Walkinshaw
2013-04-04 13:08:23 -07:00

View File

@@ -95,7 +95,9 @@ function roots_htaccess_writable() {
} }
} }
} }
add_action('admin_init', 'roots_htaccess_writable'); if (current_theme_supports('h5bp-htaccess')) {
add_action('admin_init', 'roots_htaccess_writable');
}
/** /**
* Return WordPress subdirectory if applicable * Return WordPress subdirectory if applicable