Because the script action is directed by 'action' but is initially called with action undefined it fills the log with noise.
Assign a suitable falsy value to action if undefined so that we can use the error logs more efficiently.
script is a prime candidate for refactoring if anyone has the time as its over complex and slow
Created attachment 4575 [details] [review]
One-liner patch that provides a default value to a potentially undefined variable. No chance of regression here. Marking as Passed QA.
Pushed please test
The fix for this bug was published in the 3.4.5 release. If you were the reporter of this bug, please take time to verify the fix and update the status of this bug report accordingly. If the bug is fixed to your satisfaction, please close this report.