#14754 closed defect (bug) (wontfix)
add_query_arg() refactoring
Reported by: | hakre | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
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.
Attachments (2)
Change History (6)
#1
@
14 years ago
- Keywords needs-unit-tests added
- Milestone changed from Awaiting Review to Future Release
How has this been tested?
Could you write some unit-test cases for this?
Note: See
TracTickets for help on using
tickets.
some more lines