Refactor the File_Editor_URL
Traits to use a single filter instead of two.
#314
Labels
[Type] Enhancement
A suggestion for improvement of an existing feature
Followup: #298 (comment)
Currently, the
File_Editor_URL
Traits codebase unconditionally passes theline
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.The text was updated successfully, but these errors were encountered: