Skip to content

Commit

Permalink
Don't warn about unwritable htaccess if that option is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
mallorydxw committed Apr 4, 2013
1 parent c4e07a8 commit 72958cb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/utils.php
Expand Up @@ -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
Expand Down

0 comments on commit 72958cb

Please sign in to comment.