Changeset 29309
- Timestamp:
- 07/27/2014 05:15:22 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r29163 r29309 3503 3503 3504 3504 /** 3505 * Determine if the scheme of the given URL is https.3506 *3507 * @since 4.0.03508 *3509 * @param string $url The URL.3510 * @return bool True if the given URL uses https, false if not (or if the URL3511 * is not valid).3512 */3513 function is_https_url( $url ) {3514 return ( 'https' === parse_url( $url, PHP_URL_SCHEME ) );3515 }3516 3517 /**3518 3505 * Whether SSL login should be forced. 3519 3506 *
Note: See TracChangeset
for help on using the changeset viewer.