summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/modules/module-extras.php')
-rw-r--r--plugins/jetpack/modules/module-extras.php11
1 files changed, 6 insertions, 5 deletions
diff --git a/plugins/jetpack/modules/module-extras.php b/plugins/jetpack/modules/module-extras.php
index 4185ca42..bf8cf481 100644
--- a/plugins/jetpack/modules/module-extras.php
+++ b/plugins/jetpack/modules/module-extras.php
@@ -27,6 +27,12 @@ $tools = array(
'woocommerce-analytics/wp-woocommerce-analytics.php',
'geo-location.php',
'calypsoify/class.jetpack-calypsoify.php',
+
+ // Keep working the VideoPress videos in existing posts/pages when the module is deactivated
+ 'videopress/utility-functions.php',
+ 'videopress/class.videopress-gutenberg.php',
+
+ 'plugin-search.php',
);
// Not every tool needs to be included if Jetpack is inactive and not in development mode
@@ -38,11 +44,6 @@ 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.
*