PluginProbe
ActivityPub / 9.2.1
ActivityPub v9.2.1
9.3.1 9.3.0 9.2.2 9.2.1 9.2.0 9.1.0 9.0.2 9.0.1 9.0.0 8.3.0 8.2.1 8.2.0 8.1.1 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.2.0 1.3.0 2.0.0 2.0.1 2.1.0 2.1.1 All 160 releases
← All changes | integration/load.php +4 -13 8.2.19.2.1 View file →
@@ -6,11 +6,13 @@
6 6 */
7 7
8 8 namespace Activitypub\Integration;
9 9
10 +use Activitypub\Autoloader;
11 +
10 12 use function Activitypub\site_supports_blocks;
11 13
12 -\Activitypub\Autoloader::register_path( __NAMESPACE__, __DIR__ );
14 +Autoloader::register_path( __NAMESPACE__, __DIR__ );
13 15
14 16 /**
15 17 * Initialize the ActivityPub integrations.
16 18 */
@@ -136,9 +138,9 @@
136 138 *
137 139 * @see https://wordpress.org/plugins/seriously-simple-podcasting/
138 140 */
139 141 if ( \defined( 'SSP_VERSION' ) ) {
140 - add_filter(
142 + \add_filter(
141 143 'activitypub_transformer',
142 144 static function ( $transformer, $data, $object_class ) {
143 145 if (
144 146 'WP_Post' === $object_class &&
@@ -179,19 +181,8 @@
179 181 *
180 182 * @see https://wordpress.org/plugins/webfinger/
181 183 */
182 184 Webfinger::init();
183 -
184 - /**
185 - * Adds WP REST Cache support.
186 - *
187 - * This class handles the compatibility with the WP REST Cache plugin.
188 - *
189 - * @see https://wordpress.org/plugins/wp-rest-cache/
190 - */
191 - if ( \class_exists( 'WP_Rest_Cache_Plugin\Includes\Plugin' ) ) {
192 - WP_Rest_Cache::init();
193 - }
194 185
195 186 /**
196 187 * Adds WPML Multilingual CMS (plugin) support.
197 188 *