[wp-trac] [WordPress Trac] #50585: The Return Value of esc url raw() can be more accurate in its description
WordPress Trac
noreply at wordpress.org
Tue Jul 7 06:30:29 UTC 2020
#50585: The Return Value of esc url raw() can be more accurate in its description
--------------------------+-----------------------------
Reporter: stevenlinx | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version:
Severity: normal | Keywords: needs-patch
Focuses: docs |
--------------------------+-----------------------------
"The cleaned $url after the 'clean_url' filter is applied. An empty string
is returned if $url specifies a protocol other than those in $protocols,
or if $url contains an empty string."
Codex:
https://codex.wordpress.org/Function_Reference/esc_url_raw
DevHub:
https://developer.wordpress.org/reference/functions/esc_url_raw/
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50585>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list