#4464 closed defect (bug) (fixed)
leading "?" removed from query strings passed through add_query_arg()
Reported by: | markjaquith | Owned by: | |
---|---|---|---|
Milestone: | 2.2.1 | Priority: | normal |
Severity: | normal | Version: | 2.2 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
example:
$test = '?s=test&paged=2'; $test = remove_query_arg('paged', $test); echo $test;
expected result:
?s=test
actual result:
s=test
Change History (2)
Note: See
TracTickets for help on using
tickets.
(In [5703]) only strip question marks from the RIGHT side of the query string. fixes #4464. see #4462