|Reported by:||hakre||Owned by:|
|Severity:||normal||Keywords:||needs-patch needs-unit-tests close|
The function add_query_arg() looks like that it could benefit from a refactoring. Especially the handling of optional parameters (did introduce PHP 4 that language feature?) can benefit by a sligh touch-up.
Attached patch reflects only the first few lines of the function.