Changeset 28894
- Timestamp:
- 06/29/2014 11:31:25 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r28882 r28894 3361 3361 3362 3362 /** 3363 * Determine if the scheme of the given URL is https. 3364 * 3365 * @since 4.0.0 3366 * 3367 * @param string $url The URL 3368 * @return boolean True if the given URL uses https, false if not (or if the URL is not valid). 3369 */ 3370 function is_https_url( $url ) { 3371 return ( 'https' === parse_url( $url, PHP_URL_SCHEME ) ); 3372 } 3373 3374 /** 3363 3375 * Whether SSL login should be forced. 3364 3376 *
Note: See TracChangeset
for help on using the changeset viewer.