From 1015d843abd6db3ebe6154bc59b5b7e3b1f813f8 Mon Sep 17 00:00:00 2001 From: nikitozzzzzzz Date: Wed, 20 Dec 2017 11:45:27 +0200 Subject: [PATCH] - fixed issue #365 with menu items; --- includes/core/um-navmenu-walker-template.php | 2 +- includes/core/um-navmenu-walker.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/core/um-navmenu-walker-template.php b/includes/core/um-navmenu-walker-template.php index 27649ccd..43516b88 100644 --- a/includes/core/um-navmenu-walker-template.php +++ b/includes/core/um-navmenu-walker-template.php @@ -21,7 +21,7 @@ class {{{%um_navmenu_walker%}}} extends {{{%parent_walker%}}} { } - protected function get_fields( $item, $depth, $args = array(), $id = 0 ) { + public function get_fields( $item, $depth, $args = array(), $id = 0 ) { ob_start(); if( isset( $item->ID ) ){ diff --git a/includes/core/um-navmenu-walker.php b/includes/core/um-navmenu-walker.php index 5cfe6af1..98e2f40b 100644 --- a/includes/core/um-navmenu-walker.php +++ b/includes/core/um-navmenu-walker.php @@ -18,7 +18,7 @@ class UM_Menu_Item_Custom_Fields_Walker extends Walker_Nav_Menu_Edit { } - protected function get_fields( $item, $depth, $args = array(), $id = 0 ) { + public function get_fields( $item, $depth, $args = array(), $id = 0 ) { ob_start(); if( isset( $item->ID ) ){