From bd7c8e312bffffb50478943fc4e7a2971048aad7 Mon Sep 17 00:00:00 2001 From: Kjell Reigstad Date: Tue, 13 Apr 2021 13:11:42 -0400 Subject: [PATCH] Add blockTypes prop for compatibility with #30469. --- lib/block-patterns/heading.php | 1 + lib/block-patterns/quote.php | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/block-patterns/heading.php b/lib/block-patterns/heading.php index 902938770c3b1b..3c7d7a7d38a9ec 100644 --- a/lib/block-patterns/heading.php +++ b/lib/block-patterns/heading.php @@ -8,6 +8,7 @@ return array( 'title' => _x( 'Heading', 'Block pattern title', 'default' ), 'categories' => array( 'text' ), + 'blockTypes' => array( 'core/heading' ), 'content' => '

' . esc_html__( "We're a studio in Berlin with an international practice in architecture, urban planning and interior design. We believe in sharing knowledge and promoting dialogue to increase the creative potential of collaboration.", 'default' ) . '

', diff --git a/lib/block-patterns/quote.php b/lib/block-patterns/quote.php index d09812303d47e7..70fafea3488fbf 100644 --- a/lib/block-patterns/quote.php +++ b/lib/block-patterns/quote.php @@ -8,6 +8,7 @@ return array( 'title' => _x( 'Quote', 'Block pattern title', 'default' ), 'categories' => array( 'text' ), + 'blockTypes' => array( 'core/quote' ), 'content' => '