From 07bc7bb56adf1cf4dfb0e8b8ab99de078eb74505 Mon Sep 17 00:00:00 2001 From: Ned Zimmerman Date: Sat, 16 Sep 2017 12:36:14 -0300 Subject: [PATCH] Add Controller fix. --- app/setup.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/setup.php b/app/setup.php index 6dcf668..2467616 100644 --- a/app/setup.php +++ b/app/setup.php @@ -166,6 +166,14 @@ add_action('after_setup_theme', function () { }); }); +/** + * TODO: Remove temporary workaround to start soberwp/controller + * + * @see https://github.com/soberwp/controller/issues/48 + */ +add_action('init', 'Sober\Controller\loader'); +add_action('init', 'Sober\Controller\debugger'); + add_action('wp_head', function () { $primary = get_option('pb_network_color_primary'); $accent = get_option('pb_network_color_accent');