Change $src parameter default value to null
Change $localization_args and $localization_var default value to empty array
Modify conditional checks to match