Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 72958cbaafe30772c1e511b3fa147018cd37d829 1 parent c4e07a8
@tomdxw tomdxw authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/utils.php
View
4 lib/utils.php
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.