Skip to content

Commit

Permalink
Calendar: Don't offer Revision Statuses as a post taxonomy filter
Browse files Browse the repository at this point in the history
  • Loading branch information
agapetry committed Jan 15, 2025
1 parent 5c8adfb commit 201e4ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/calendar/calendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 . ')';
Expand Down

0 comments on commit 201e4ed

Please sign in to comment.