Changeset 28674
- Timestamp:
- 06/05/2014 02:08:11 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/default-constants.php
r28609 r28674 248 248 * @since 2.6.0 249 249 */ 250 if ( !defined( 'FORCE_SSL_ADMIN' ) ) 251 define( 'FORCE_SSL_ADMIN', false ); 250 if ( !defined( 'FORCE_SSL_ADMIN' ) ) { 251 if ( 'https' === parse_url( get_option( 'siteurl' ), PHP_URL_SCHEME ) ) { 252 define( 'FORCE_SSL_ADMIN', true ); 253 } else { 254 define( 'FORCE_SSL_ADMIN', false ); 255 } 256 } 252 257 force_ssl_admin( FORCE_SSL_ADMIN ); 253 258
Note: See TracChangeset
for help on using the changeset viewer.