aboutsummaryrefslogtreecommitdiffhomepage
path: root/langs
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2023-05-27 15:56:05 +0200
committerBjørn Erik Pedersen <[email protected]>2023-05-27 16:56:54 +0200
commita6257d8a44c85aa7485e5cff0376c19f4335f227 (patch)
tree62a16cf0d9fc818347ad3da378becf7a7b3a1102 /langs
parent6c2db0dfb0720c0af6ffabb438e1d2ea8eb909b4 (diff)
downloadhugo-a6257d8a44c85aa7485e5cff0376c19f4335f227.tar.gz
hugo-a6257d8a44c85aa7485e5cff0376c19f4335f227.zip
langs: Remove the Language.Params deprecation message for now
Closes #11025
Diffstat (limited to 'langs')
-rw-r--r--langs/language.go4
1 files changed, 3 insertions, 1 deletions
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
}