From 72384a68bc37f32a9750f1a65da6c143e3580784 Mon Sep 17 00:00:00 2001 From: Chris Van Patten Date: Mon, 30 Jul 2018 02:37:29 -0400 Subject: [PATCH] Don't register rewrite rules for the wp_blocks post type (#8260) Fixes #8233. --- lib/register.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/register.php b/lib/register.php index c32d777bb69c0..d52722aba1aa5 100644 --- a/lib/register.php +++ b/lib/register.php @@ -390,6 +390,7 @@ function gutenberg_register_post_types() { 'singular_name' => 'Block', ), 'public' => false, + 'rewrite' => false, 'show_in_rest' => true, 'rest_base' => 'blocks', 'rest_controller_class' => 'WP_REST_Blocks_Controller',