Changeset 49512
- Timestamp:
- 11/06/2020 02:01:06 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/formatting.php
r49484 r49512 4302 4302 * @param string $_context Private. Use esc_url_raw() for database usage. 4303 4303 * @return string The cleaned URL after the {@see 'clean_url'} filter is applied. 4304 * An empty string is returned if `$url` specifies a protocol other than 4305 * those in `$protocols`, or if `$url` contains an empty string. 4304 4306 */ 4305 4307 function esc_url( $url, $protocols = null, $_context = 'display' ) { … … 4409 4411 * @param string[] $protocols Optional. An array of acceptable protocols. 4410 4412 * Defaults to return value of wp_allowed_protocols(). 4411 * @return string The cleaned URL .4413 * @return string The cleaned URL after esc_url() is run with the 'db' context. 4412 4414 */ 4413 4415 function esc_url_raw( $url, $protocols = null ) {
Note: See TracChangeset
for help on using the changeset viewer.