Ticket #22283: 22283.diff
File 22283.diff, 493 bytes (added by , 13 years ago) |
---|
-
wp-login.php
12 12 require( dirname(__FILE__) . '/wp-load.php' ); 13 13 14 14 // Redirect to https login if forced to use SSL 15 if ( force_ssl_ admin() && ! is_ssl() ) {15 if ( force_ssl_login() && ! is_ssl() ) { 16 16 if ( 0 === strpos($_SERVER['REQUEST_URI'], 'http') ) { 17 17 wp_redirect( set_url_scheme( $_SERVER['REQUEST_URI'], 'https' ) ); 18 18 exit();