Jake Vanderwerf
yesterday f4be611c51473359e6d41780f0313c446079e9d3
inc/rest/routes/FeedRoutes.php
@@ -501,7 +501,7 @@
               : explode(',', $args['post_type']);
            // Check if filtering global feed content
            if (in_array(jvbNoBase($context['type']), Registrar::getFeatured('is_content', 'term'))) {
            if (in_array(jvbNoBase($context['type']), Registrar::withFeature('is_content', 'term'))) {
               // Global: show posts from any content type with this taxonomy
               $for_content = Registrar::getInstance($context['type'])->registrar->for ?? [];
@@ -509,7 +509,7 @@
               $post_types = array_map(fn($type) => jvbCheckBase($type), $for_content);
               // Filter to only show_feed content types
               $show_feed_types = Registrar::getFeatured('show_feed', 'post');
               $show_feed_types = Registrar::withFeature('show_feed', 'post');
               $args['post_type'] = array_intersect(
                  $post_types,
                  array_map(fn($type) => jvbCheckBase($type), $show_feed_types)
@@ -1147,7 +1147,7 @@
            $config = [];
            // Get content types with show_feed
            $contentTypes = Registrar::getFeatured('show_feed', 'post');
            $contentTypes = Registrar::withFeature('show_feed', 'post');
            foreach ($contentTypes as $slug) {
               $this->cache->tag('content:'.$slug);
               $registrar = Registrar::getInstance($slug);
@@ -1163,7 +1163,7 @@
            }
            // Get taxonomies with show_feed (content taxonomies)
            $taxonomies = Registrar::getFeatured('show_feed', 'term');
            $taxonomies = Registrar::withFeature('show_feed', 'term');
            foreach ($taxonomies as $slug) {
               $registrar = Registrar::getInstance($slug);
               if (!$registrar || !($registrar->hasFeature('is_content') ?? false)) {