diff --git a/includes/class-friends.php b/includes/class-friends.php index 7486ae0a..feee5e26 100644 --- a/includes/class-friends.php +++ b/includes/class-friends.php @@ -1414,6 +1414,8 @@ public static function url_truncate( $url, $max_length = 50 ) { public static function uninstall_plugin() { $taxonomies = array( User_Feed::TAXONOMY, + User_Feed::POST_TAXONOMY, + Subscription::TAXONOMY, ); $affected_users = new \WP_User_Query( array( 'role__in' => array( 'friend', 'acquaintance', 'friend_request', 'pending_friend_request', 'subscription' ) ) ); diff --git a/includes/class-third-parties.php b/includes/class-third-parties.php index c10fe91f..de0e2409 100644 --- a/includes/class-third-parties.php +++ b/includes/class-third-parties.php @@ -65,6 +65,6 @@ public function fx_private_site( $value ) { * @return array */ public function wp_sweep_excluded_taxonomies( $excluded_taxonomies ) { - return array_merge( $excluded_taxonomies, array( User_Feed::TAXONOMY, Subscription::TAXONOMY ) ); + return array_merge( $excluded_taxonomies, array( User_Feed::TAXONOMY, User_Feed::POST_TAXONOMY, Subscription::TAXONOMY ) ); } }