From 803958941220e274e1c329e5e210cceb6be6104d Mon Sep 17 00:00:00 2001 From: ap7 Date: Mon, 29 Apr 2019 15:34:20 +0800 Subject: [PATCH] Fixed error: Undefined variable: item_output in /app/public/wp-content/themes/team-wp/inc/custom-menu.php on line 103 --- inc/custom-menu.php | 1 + 1 file changed, 1 insertion(+) diff --git a/inc/custom-menu.php b/inc/custom-menu.php index a4884bc..9954c61 100644 --- a/inc/custom-menu.php +++ b/inc/custom-menu.php @@ -77,6 +77,7 @@ function start_el(&$output, $item, $depth = 0, $args = array(), $id = 0) $n = "\n"; } $indent = ( $depth ) ? str_repeat( $t, $depth ) : ''; + $item_output = ''; $object = $item->object; $type = $item->type;