Ticket #48353: 48353.patch
File 48353.patch, 1006 bytes (added by , 5 years ago) |
---|
-
src/wp-includes/formatting.php
4239 4239 * @since 2.8.0 4240 4240 * 4241 4241 * @param string $url The URL to be cleaned. 4242 * @param array$protocols Optional. An array of acceptable protocols.4242 * @param string[] $protocols Optional. An array of acceptable protocols. 4243 4243 * Defaults to return value of wp_allowed_protocols() 4244 4244 * @param string $_context Private. Use esc_url_raw() for database usage. 4245 4245 * @return string The cleaned $url after the {@see 'clean_url'} filter is applied. … … 4347 4347 * @since 2.8.0 4348 4348 * 4349 4349 * @param string $url The URL to be cleaned. 4350 * @param array$protocols An array of acceptable protocols.4350 * @param string[] $protocols An array of acceptable protocols. 4351 4351 * @return string The cleaned URL. 4352 4352 */ 4353 4353 function esc_url_raw( $url, $protocols = null ) {