#59247 closed enhancement (fixed)
Replace the remaining instances of esc_url_raw() with sanitize_url()
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 6.4 | Priority: | normal |
| Severity: | normal | Version: | 6.1 |
| Component: | Formatting | Keywords: | good-first-bug has-patch |
| Focuses: | Cc: |
Description
Background: #55852.
Since esc_url_raw() is now a wrapper for sanitize_url(), all of the former function calls in core were replaced with the latter in [53455] / #55852.
Two instances accidentally snuck in later:
For consistency, let's replace those two esc_url_raw() calls with sanitize_url() as well.
Change History (4)
This ticket was mentioned in PR #5117 on WordPress/wordpress-develop by @rajinsharwar.
2 years ago
#1
- Keywords has-patch added; needs-patch removed
Note: See
TracTickets for help on using
tickets.
Updating instances of esc_url_raw with sanitize_url()
Trac ticket: https://core.trac.wordpress.org/ticket/59247