From b7f59285ddf63477164e08ab054f1b6aac1dd66c Mon Sep 17 00:00:00 2001 From: abuyoyo Date: Fri, 10 Apr 2020 22:50:54 +0300 Subject: [PATCH] Fix AdminMenuPage settings + composer.json --- composer.json | 3 ++- notice-manager.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 623027a..ac4df53 100644 --- a/composer.json +++ b/composer.json @@ -10,6 +10,7 @@ ], "require":{ "composer/installers": "~1.0", - "abuyoyo/screen-meta-links": "~0.5" + "abuyoyo/screen-meta-links": "~0.5", + "abuyoyo/plugincore": "~0.14" } } \ No newline at end of file diff --git a/notice-manager.php b/notice-manager.php index 4bf00e2..0eabafd 100644 --- a/notice-manager.php +++ b/notice-manager.php @@ -16,7 +16,7 @@ new PluginCore( [ 'update_checker' => ['auth'=> $github_oauth], - 'admin_menu_page' => [ + 'admin_page' => [ 'parent' => 'options', 'render' => 'settings-page', // built-in settings page 'settings' => [