Ignore more reserved post types

This commit is contained in:
Will Boyd
2025-02-15 10:22:13 -05:00
parent cb9dd9255e
commit e8852a2900
+6 -1
View File
@@ -41,8 +41,13 @@ function getPostTypes(channelData) {
'nav_menu_item', 'nav_menu_item',
'custom_css', 'custom_css',
'customize_changeset', 'customize_changeset',
'oembed_cache',
'user_request',
'wp_block',
'wp_global_styles', 'wp_global_styles',
'wp_navigation' 'wp_navigation',
'wp_template',
'wp_template_part'
].includes(type)); ].includes(type));
return [...new Set(types)]; // remove duplicates return [...new Set(types)]; // remove duplicates
} }