Ticket #50147: 50147.diff
File 50147.diff, 575 bytes (added by , 5 years ago) |
---|
-
src/wp-includes/formatting.php
diff --git a/src/wp-includes/formatting.php b/src/wp-includes/formatting.php index 130a2c36d1..445b242d74 100644
a b function esc_url( $url, $protocols = null, $_context = 'display' ) { 4409 4409 * 4410 4410 * @param string $url The URL to be cleaned. 4411 4411 * @param string[] $protocols An array of acceptable protocols. 4412 * Defaults to return value of wp_allowed_protocols() 4412 4413 * @return string The cleaned URL. 4413 4414 */ 4414 4415 function esc_url_raw( $url, $protocols = null ) {