Closed PhilMakower closed 1 year ago
in log_file_load() the $caller doesn't always have 'file' or 'line', I think when the function is filtered, or when we are in a hook. In these cases, it has 'calling_file' and 'calling_line' instead, so we can copy those values to 'file' and 'line'.
in log_file_load() the $caller doesn't always have 'file' or 'line', I think when the function is filtered, or when we are in a hook. In these cases, it has 'calling_file' and 'calling_line' instead, so we can copy those values to 'file' and 'line'.