From d248668c5ecdd50d4a913a8e3990b1ccae26dec4 Mon Sep 17 00:00:00 2001 From: Takashi Kitajima Date: Fri, 18 Nov 2016 01:26:20 +0900 Subject: [PATCH] Refactoring nav_menus classes --- app/setup/drawer-nav.php | 53 +++++++++++++++++++++++++ app/setup/global-nav.php | 61 ++++++++++++++++++++++++++++ app/setup/loader.php | 2 + app/setup/nav-menus.php | 86 ---------------------------------------- 4 files changed, 116 insertions(+), 86 deletions(-) create mode 100644 app/setup/drawer-nav.php create mode 100644 app/setup/global-nav.php diff --git a/app/setup/drawer-nav.php b/app/setup/drawer-nav.php new file mode 100644 index 00000000..24f9178d --- /dev/null +++ b/app/setup/drawer-nav.php @@ -0,0 +1,53 @@ +theme_location ) { + return $nav_menu; + } + + return preg_replace( + '/