From 75c9a477996d2adc726c2325046d211f9970701f Mon Sep 17 00:00:00 2001 From: xing Date: Sun, 19 Feb 2023 21:48:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/wpconfig/thememods.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/wpconfig/thememods.go b/internal/wpconfig/thememods.go index a422611..265dfd9 100644 --- a/internal/wpconfig/thememods.go +++ b/internal/wpconfig/thememods.go @@ -21,7 +21,7 @@ func SetTemplateFs(fs embed.FS) { type ThemeMods struct { CustomCssPostId int `json:"custom_css_post_id,omitempty"` - NavMenuLocations []string `json:"nav_menu_locations,omitempty"` + NavMenuLocations any `json:"nav_menu_locations,omitempty"` CustomLogo int `json:"custom_logo,omitempty"` HeaderImage string `json:"header_image,omitempty"` BackgroundImage string `json:"background_image,omitempty"`