summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/vendor/automattic/jetpack-connection/legacy/load-ixr.php')
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-connection/legacy/load-ixr.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/plugins/jetpack/vendor/automattic/jetpack-connection/legacy/load-ixr.php b/plugins/jetpack/vendor/automattic/jetpack-connection/legacy/load-ixr.php
new file mode 100644
index 00000000..de77dfc4
--- /dev/null
+++ b/plugins/jetpack/vendor/automattic/jetpack-connection/legacy/load-ixr.php
@@ -0,0 +1,13 @@
+<?php
+/**
+ * WordPress IXR classes aren't always loaded by default.
+ *
+ * Here we ensure that they are loaded before we declare our implementations.
+ *
+ * @package automattic/jetpack-connection
+ * @since 7.7
+ */
+
+if ( defined( 'ABSPATH' ) && defined( 'WPINC' ) ) {
+ require_once ABSPATH . WPINC . '/class-IXR.php';
+}