From ff65e77cb1f3e7b5617e0b72ef494840091b0d97 Mon Sep 17 00:00:00 2001 From: Huub <50170696+huubl@users.noreply.github.com> Date: Fri, 8 Nov 2024 18:13:57 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Use=20the=20default=20array=20fo?= =?UTF-8?q?r=20parent=20and=20ancestor=20block=20settings=20(#288)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Block.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Block.php b/src/Block.php index 43ea75d..1e5f376 100644 --- a/src/Block.php +++ b/src/Block.php @@ -527,8 +527,8 @@ public function settings(): Collection 'category' => $this->category, 'icon' => $this->getIcon(), 'keywords' => $this->keywords, - 'parent' => $this->parent ?: null, - 'ancestor' => $this->ancestor ?: null, + 'parent' => $this->parent, + 'ancestor' => $this->ancestor, 'post_types' => $this->post_types, 'mode' => $this->mode, 'align' => $this->align,