I've taken a look at some and it appears to me that with the release of v12.30.0103 something changed in how some deprecated commands work. In particularly this seems to have "broken"* how commands which were converted to functions return their results.
What this means is commands such as GetKey, Replace, RegexReplace, and likely others need to be converted from:
Code: Select all
GetKey $value, $key, $section, $file;
Replace $result, $haystack, $needle, $replacement;
RegexReplace $result, $haystack, $needle, $replacement;
Code: Select all
$value = GetKey($key, $section, $file);
$result = Replace($haystack, $needle, $replacement);
$result = RegexReplace($haystack, $needle, $replacement);
So as a warning to other developers if you have scripts, particularly older ones, which makes use of commands that have since been converted to functions you need to update them!
* Being deprecated means we cannot rely on their existence or previous behavior anymore thus IMO they really can't be broken.
EDIT: And as such I'm not viewing this as a bug - though the lack of mention in the change log better mean it was not intentional.