Opened 3 years ago
Closed 3 years ago
#57885 closed enhancement (fixed)
Docs: Add XSS warning to docs for remove_query_arg
| Reported by: | | Owned by: | |
|---|---|---|---|
| Milestone: | 6.2 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | General | Keywords: | has-patch commit |
| Focuses: | docs | Cc: |
Description
On developer.wordpress.org, the page for add_query_arg contains a warning that the return value of the function is not escaped, and as such is not safe to use directly.
The same applies to remove_query_arg, but not such warning is present there.
I propose adding the same warning to the docs for remove_query_arg. I'll attach a patch to that effect to this ticket.
Attachments (1)
Change History (6)
Note: See TracTickets for help on using tickets.
Adds an XSS warning to the doc block for remove_query_arg .