From c273e3b7c19c5573e720d9f668a7a77588c3db44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Cabrera?= Date: Sat, 13 Aug 2022 10:40:05 -0400 Subject: [PATCH] Fixes issue with plugin not detecting presence of WordPress Popular Posts --- wordpress-popular-posts-feed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wordpress-popular-posts-feed.php b/wordpress-popular-posts-feed.php index 2b1ff8d..7c18b69 100644 --- a/wordpress-popular-posts-feed.php +++ b/wordpress-popular-posts-feed.php @@ -31,7 +31,7 @@ */ function init() { - if ( class_exists('WPP_Query', false) ) { + if ( class_exists('WordPressPopularPosts\WordPressPopularPosts', false) ) { add_action( 'init', __NAMESPACE__ . '\register_feed' ); } else {