inc/blocks/MenuBlock.php
@@ -47,7 +47,7 @@ if (wp_is_post_revision($postID) || wp_is_post_autosave($postID)) return; $postType = $post->post_type; if ($postType !== 'product' && !in_array($postType, Registrar::getFoodMenuTypes())) { if ($postType !== 'product' || !in_array($postType, Registrar::getFoodMenuTypes())) { return; } error_log('Flushing food menu block cache');