|
@@ -15,3 +15,9 @@ function blockbase_wpcom_scripts() {
|
|
|
wp_enqueue_style( 'blockbase-wpcom-style', get_template_directory_uri() . '/inc/wpcom-style.css', array( 'blockbase-ponyfill' ) );
|
|
|
}
|
|
|
add_action( 'wp_enqueue_scripts', 'blockbase_wpcom_scripts' );
|
|
|
+
|
|
|
+/**
|
|
|
+ * Restores the Customizer since we still rely on it.
|
|
|
+ * (For WPcom REST API requests to work properly.)
|
|
|
+ */
|
|
|
+add_action( 'restapi_theme_init', 'blockbase_restore_customizer', 11 );
|