Changeset 24266
- Timestamp:
- 05/15/2013 10:09:54 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r24229 r24266 3922 3922 */ 3923 3923 function wp_auth_check_html() { 3924 $login_url = site_url( 'wp-login.php', 'login_post');3924 $login_url = wp_login_url(); 3925 3925 $current_domain = ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST']; 3926 3926 $same_domain = ( strpos( $login_url, $current_domain ) === 0 ); 3927 3928 if ( $same_domain && force_ssl_login() && ! force_ssl_admin() ) 3929 $same_domain = false; 3927 3930 3928 3931 // Let plugins change this if they know better.
Note: See TracChangeset
for help on using the changeset viewer.