Skip to content

Commit

Permalink
langs: Remove the Language.Params deprecation message for now
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed May 27, 2023
1 parent 7b65dfb commit d9d13ae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion langs/language.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit d9d13ae

Please sign in to comment.