- Timestamp:
- 05/11/2020 08:32:06 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/formatting.php
r47638 r47783 4301 4301 * @param string $url The URL to be cleaned. 4302 4302 * @param string[] $protocols Optional. An array of acceptable protocols. 4303 * Defaults to return value of wp_allowed_protocols() 4303 * Defaults to return value of wp_allowed_protocols(). 4304 4304 * @param string $_context Private. Use esc_url_raw() for database usage. 4305 * @return string The cleaned $urlafter the {@see 'clean_url'} filter is applied.4305 * @return string The cleaned URL after the {@see 'clean_url'} filter is applied. 4306 4306 */ 4307 4307 function esc_url( $url, $protocols = null, $_context = 'display' ) { … … 4409 4409 * 4410 4410 * @param string $url The URL to be cleaned. 4411 * @param string[] $protocols An array of acceptable protocols. 4411 * @param string[] $protocols Optional. An array of acceptable protocols. 4412 * Defaults to return value of wp_allowed_protocols(). 4412 4413 * @return string The cleaned URL. 4413 4414 */
Note: See TracChangeset
for help on using the changeset viewer.