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 | includes/cli/class-cache-command.php +2 -1 8.3.09.2.1 View file →
@@ -6,8 +6,9 @@
6 6 */
7 7
8 8 namespace Activitypub\Cli;
9 9
10 +use Activitypub\Cache;
10 11 use Activitypub\Cache\Avatar;
11 12 use Activitypub\Cache\Emoji;
12 13 use Activitypub\Cache\File;
13 14 use Activitypub\Cache\Media;
@@ -263,9 +264,9 @@
263 264 * @return bool True if enabled.
264 265 */
265 266 private function is_cache_enabled( $type ) {
266 267 // Check global cache enablement (includes constant and activitypub_remote_cache_enabled filter).
267 - if ( ! \Activitypub\Cache::is_enabled() ) {
268 + if ( ! Cache::is_enabled() ) {
268 269 return false;
269 270 }
270 271
271 272 // Check type-specific filter.