From 332f4b8284cc5ea54e4d581cc178c60938d1f3b7 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Tue, 27 Apr 2021 08:29:19 +0100 Subject: [PATCH] style: add styling to menu link --- src/admin/layout/class-footnotes-layout-init.php | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/admin/layout/class-footnotes-layout-init.php b/src/admin/layout/class-footnotes-layout-init.php index b4d9e7a..9d2ed4e 100644 --- a/src/admin/layout/class-footnotes-layout-init.php +++ b/src/admin/layout/class-footnotes-layout-init.php @@ -25,14 +25,6 @@ class Footnotes_Layout_Init { */ const C_STR_MAIN_MENU_SLUG = 'footnotes'; - /** - * Plugin main menu name. - * - * @since 1.5.0 - * @var string - */ - const C_STR_MAIN_MENU_TITLE = 'ManFisher'; - /** * Contains the settings layoutEngine * @@ -77,9 +69,9 @@ class Footnotes_Layout_Init { add_submenu_page( 'options-general.php', 'footnotes Settings', - self::C_STR_MAIN_MENU_SLUG, + Footnotes_Config::C_STR_PLUGIN_PUBLIC_NAME, 'manage_options', - 'footnotes', + self::C_STR_MAIN_MENU_SLUG, array( $this->settings_page, 'display_content' ) ); $this->settings_page->register_sub_page();