Followup: #298 (comment)
Currently, the File_Editor_URL Traits codebase unconditionally passes the line parameter, which seems to be an unnecessary operation. There's a need for a more thoughtful approach to change this behaviour. In addition, it appears that the two filters (wp_plugin_check_validation_error_source_file_editor_url_template, wp_plugin_check_validation_error_source_file_path) in use are overly complex, and there might be an opportunity to streamline them into a single filter.
Followup: #298 (comment)
Currently, the
File_Editor_URLTraits codebase unconditionally passes thelineparameter, which seems to be an unnecessary operation. There's a need for a more thoughtful approach to change this behaviour. In addition, it appears that the two filters (wp_plugin_check_validation_error_source_file_editor_url_template,wp_plugin_check_validation_error_source_file_path) in use are overly complex, and there might be an opportunity to streamline them into a single filter.