Close #1791 - Only disable customizer if theme isn't activated

This commit is contained in:
Ben Word
2017-01-08 14:19:42 -07:00
parent 07405bf012
commit d930f19c0d
2 changed files with 4 additions and 9 deletions

View File

@@ -146,8 +146,3 @@ add_action('after_setup_theme', function () {
* Init config
*/
sage()->bindIf('config', Config::class, true);
/**
* Disable option hack if we're in Customizer preview
*/
config(['sage.disable_option_hack' => is_customize_preview()]);