#4464 closed defect (bug) (fixed)
leading "?" removed from query strings passed through add_query_arg()
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.2.1 |
| Component: | General | Version: | 2.2 |
| Severity: | normal | Keywords: | |
| 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)
comment:1
markjaquith — 6 years ago
- Resolution set to fixed
- Status changed from new to closed
comment:2
markjaquith — 6 years ago
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