From a6257d8a44c85aa7485e5cff0376c19f4335f227 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Sat, 27 May 2023 15:56:05 +0200 Subject: [PATCH] langs: Remove the Language.Params deprecation message for now Closes #11025 --- langs/language.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/langs/language.go b/langs/language.go index a1b8f4326..4e089606c 100644 --- a/langs/language.go +++ b/langs/language.go @@ -98,7 +98,9 @@ See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120 // Note that this is the same as the Site.Params, but we keep it here for legacy reasons. // Deprecated: Use the site.Params instead. func (l *Language) Params() maps.Params { - DeprecationFunc(".Language.Params", paramsDeprecationWarning, false) + // TODO(bep) Remove this for now as it created a little too much noise. Need to think about this. + // See https://github.com/gohugoio/hugo/issues/11025 + //DeprecationFunc(".Language.Params", paramsDeprecationWarning, false) return l.params }