Permalink
Browse files

Don't warn about unwritable htaccess if that option is disabled

  • Loading branch information...
1 parent c4e07a8 commit 72958cbaafe30772c1e511b3fa147018cd37d829 @tomdxw tomdxw committed Apr 4, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/utils.php
View
@@ -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

0 comments on commit 72958cb

Please sign in to comment.