[wp-trac] [WordPress Trac] #59179: Use esc_url and esc_url_raw function instead of sanitize_url
WordPress Trac
noreply at wordpress.org
Thu Aug 24 04:37:59 UTC 2023
#59179: Use esc_url and esc_url_raw function instead of sanitize_url
--------------------------+-------------------------------
Reporter: dilipbheda | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: General | Version:
Severity: normal | Resolution: invalid
Keywords: has-patch | Focuses: coding-standards
--------------------------+-------------------------------
Changes (by jrf):
* status: new => closed
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
You are using an
[https://make.wordpress.org/core/2023/08/21/wordpresscs-3-0-0-is-now-
available/ outdated version of WordPressCS]. As you could have seen in the
[https://developer.wordpress.org/reference/functions/sanitize_url/
`sanitize_url()` documentation], `sanitize_url()` has been undeprecated in
WP 5.9.0.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59179#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list