From 7d15e3cc686d4fd98eef889704660246c223a636 Mon Sep 17 00:00:00 2001 From: Sabina Talipova Date: Thu, 12 Oct 2023 14:59:00 +1300 Subject: [PATCH] MNT Remove TODO comments --- src/Model/BlogPost.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Model/BlogPost.php b/src/Model/BlogPost.php index e273dd89..e0572d6e 100644 --- a/src/Model/BlogPost.php +++ b/src/Model/BlogPost.php @@ -334,8 +334,6 @@ public function getCMSFields() ? $parent->Tags() : BlogTag::get(); - // @todo: Reimplement the sidebar - // $options = BlogAdminSidebar::create( $fields->addFieldsToTab( 'Root.PostOptions', [ @@ -360,9 +358,6 @@ public function getCMSFields() $authorNames ] ); - // )->setTitle('Post Options'); - // $options->setName('blog-admin-sidebar'); - // $fields->insertBefore($options, 'Root'); $fields->fieldByName('Root.PostOptions') ->setTitle(_t(__CLASS__ . '.PostOptions', 'Post Options'));