From 201e4ed86e2199bdd63ee384901c1f7ad015bbe2 Mon Sep 17 00:00:00 2001 From: Kevin Behrens <43488774+agapetry@users.noreply.github.com> Date: Wed, 15 Jan 2025 15:40:01 -0500 Subject: [PATCH] Calendar: Don't offer Revision Statuses as a post taxonomy filter --- modules/calendar/calendar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/calendar/calendar.php b/modules/calendar/calendar.php index 1f7ee9b9..7972231b 100644 --- a/modules/calendar/calendar.php +++ b/modules/calendar/calendar.php @@ -964,7 +964,7 @@ public function get_content_calendar_datas() { $taxonomies = $this->get_all_taxonomies(); $all_taxonomies = []; foreach ($taxonomies as $taxonomy) { - if (in_array($taxonomy->name, ['post_status', 'post_status_core_wp_pp', 'post_visibility_pp'])) { + if (in_array($taxonomy->name, ['post_status', 'post_status_core_wp_pp', 'post_visibility_pp', 'pp_revision_status'])) { continue; } $all_taxonomies[$taxonomy->name] = $taxonomy->label;// . ' (' . $taxonomy->name . ')';