Changeset 51597 for trunk/src/wp-includes/deprecated.php
- Timestamp:
- 08/10/2021 07:43:33 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/deprecated.php
r51348 r51597 2025 2025 2026 2026 /** 2027 * Performs esc_url() for database or redirect usage.2028 *2029 * @since 2.3.12030 * @deprecated 2.8.0 Use esc_url_raw()2031 * @see esc_url_raw()2032 *2033 * @param string $url The URL to be cleaned.2034 * @param array $protocols An array of acceptable protocols.2035 * @return string The cleaned URL.2036 */2037 function sanitize_url( $url, $protocols = null ) {2038 _deprecated_function( __FUNCTION__, '2.8.0', 'esc_url_raw()' );2039 return esc_url_raw( $url, $protocols );2040 }2041 2042 /**2043 2027 * Checks and cleans a URL. 2044 2028 *
Note: See TracChangeset
for help on using the changeset viewer.