Opened 3 years ago
Closed 3 years ago
#57885 closed enhancement (fixed)
Docs: Add XSS warning to docs for remove_query_arg
| Reported by: | roytanck | Owned by: | audrasjb |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.2 |
| Component: | General | Version: | |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: | docs |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Adds an XSS warning to the doc block for remove_query_arg .