diff --git a/src/wp-includes/formatting.php b/src/wp-includes/formatting.php
index 45fb3c35b6..5b3f0b2266 100644
|
a
|
b
|
function esc_url( $url, $protocols = null, $_context = 'display' ) { |
| 4411 | 4411 | * @param string $url The URL to be cleaned. |
| 4412 | 4412 | * @param string[] $protocols Optional. An array of acceptable protocols. |
| 4413 | 4413 | * Defaults to return value of wp_allowed_protocols(). |
| 4414 | | * @return string The cleaned URL. |
| | 4414 | * @return string 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. |
| 4415 | 4415 | */ |
| 4416 | 4416 | function esc_url_raw( $url, $protocols = null ) { |
| 4417 | 4417 | return esc_url( $url, $protocols, 'db' ); |