summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/vendor/automattic/jetpack-compat/functions.php')
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-compat/functions.php25
1 files changed, 0 insertions, 25 deletions
diff --git a/plugins/jetpack/vendor/automattic/jetpack-compat/functions.php b/plugins/jetpack/vendor/automattic/jetpack-compat/functions.php
deleted file mode 100644
index f326a46c..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-compat/functions.php
+++ /dev/null
@@ -1,25 +0,0 @@
-<?php
-/**
- * Legacy global scope functions.
- *
- * @package automattic/jetpack-compat
- */
-
-if ( ! defined( 'ABSPATH' ) ) {
- return;
-}
-
-// Add here, after the condition above, any code that should only run when WordPress is running.
-// Autoload will load everything even when PHPCS is running and we don't want to run these
-// in such case because they will fatal, for example, due to 'add_action' being undefined.
-
-/**
- * Load necessary functions.
- */
-function jetpack_compat_require_defined_functions() {
- jetpack_require_lib( 'tracks/client' );
-}
-
-add_action( 'plugins_loaded', 'jetpack_compat_require_defined_functions' );
-
-