By damienmckenna on
Change record status:
Draft (View all draft change records)
Project:
Introduced in branch:
7.x-1.x
Issue links:
Description:
The arguments to the metatag_translate() function have been swapped. Prior to version [..] the arguments were:
function metatag_translate($name, $string, $langcode = NULL, $update = FALSE) {
//
}
As of version [..] the arguments have been changed to:
function metatag_translate($string, $context, $langcode = NULL, $update = FALSE) {
//
}
As can be seen, the string to be translated has been moved to the first argument, and the string's context has been renamed to $context and then moved to the second argument.
The only scenario in which this would affect a site is if the metatag_translate() function was being called by custom code or a custom module.
Impacts:
Module developers