summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/modules/module-extras.php')
-rw-r--r--plugins/jetpack/modules/module-extras.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/plugins/jetpack/modules/module-extras.php b/plugins/jetpack/modules/module-extras.php
index 01caab67..4185ca42 100644
--- a/plugins/jetpack/modules/module-extras.php
+++ b/plugins/jetpack/modules/module-extras.php
@@ -25,7 +25,8 @@ $tools = array(
'simple-payments/simple-payments.php',
'verification-tools/verification-tools-utils.php',
'woocommerce-analytics/wp-woocommerce-analytics.php',
- 'geo-location.php'
+ 'geo-location.php',
+ 'calypsoify/class.jetpack-calypsoify.php',
);
// Not every tool needs to be included if Jetpack is inactive and not in development mode
@@ -37,6 +38,11 @@ if ( ! Jetpack::is_active() && ! Jetpack::is_development_mode() ) {
);
}
+/* If Gutenberg blocks are enabled, register blocks that aren't associated with modules */
+if ( Jetpack_Gutenberg::should_load_blocks() ) {
+ $tools[] = 'blocks.php';
+}
+
/**
* Filter extra tools (not modules) to include.
*
@@ -61,4 +67,4 @@ if ( ! empty( $jetpack_tools_to_include ) ) {
function jetpack_widgets_add_suffix( $widget_name ) {
return sprintf( __( '%s (Jetpack)', 'jetpack' ), $widget_name );
}
-add_filter( 'jetpack_widget_name', 'jetpack_widgets_add_suffix' ); \ No newline at end of file
+add_filter( 'jetpack_widget_name', 'jetpack_widgets_add_suffix' );