Opened 12 years ago
Closed 11 years ago
#30952 closed defect (bug) (fixed)
customize.php links in the admin menu are not ecaped
| Reported by: | iseulde | Owned by: | ocean90 |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.2 |
| Component: | Customize | Version: | 4.1 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | administration |
Description
Additionally add_query_arg is used incorrectly.
Introduced in [30459].
Attachments (3)
Change History (9)
#3
@
12 years ago
Isn't there a more fundamental problem here for escaping? The _wp_menu_output() is not always calling esc_url() when echoing out the menu items. So it seems that something like 30952.demo.diff would be a more robust improvement.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
The
urlencode()must stay, otherwise it breaks URLs with multiple query arguments.