#14754 closed defect (bug) (wontfix)
add_query_arg() refactoring
| Reported by: | hakre | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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
@
16 years ago
- Keywords needs-unit-tests added
- Milestone Awaiting Review → Future Release
How has this been tested?
Could you write some unit-test cases for this?
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
some more lines