From f086c17d26145c7ed1b9575d36b18ae5aea6e288 Mon Sep 17 00:00:00 2001 From: Keith Solomon Date: Tue, 25 Nov 2025 08:03:37 -0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=84=20docs:=20Add=20comment=20about=20?= =?UTF-8?q?not=20removing=20class=20function=20call=20in=20block=20boilerp?= =?UTF-8?q?late?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- views/blocks/boilerplate/boilerplate.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/views/blocks/boilerplate/boilerplate.php b/views/blocks/boilerplate/boilerplate.php index 2ec97d3..a9bb405 100644 --- a/views/blocks/boilerplate/boilerplate.php +++ b/views/blocks/boilerplate/boilerplate.php @@ -10,6 +10,11 @@ namespace BasicWP; $classes = 'boilerplate'; + +/** + * NOTE: DO NOT remove this function call - it is required to avoid editor issues. + * $is_preview is a WordPress global when in the editor. + */ $wrapper = blockWrapperAttributes( $classes, $is_preview ); ?>