Make WordPress Core


Ignore:
Timestamp:
05/08/2013 10:45:58 PM (9 years ago)
Author:
azaozz
Message:

Logged out warnings:

  • Don't use <base> tag to set target="_blank". It can break form submission. Instead, set target only on links with JS.
  • Fix same domain comparison in wp_auth_check_html() when FORCE_SSL_LOGIN == true.
  • Properly show/hide the "Close" button when the dialog is shown multiple times.

See #23295

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r24066 r24208  
    39223922 */
    39233923function wp_auth_check_html() {
    3924     $login_url = wp_login_url();
     3924    $login_url = site_url( 'wp-login.php', 'login_post' );
    39253925    $current_domain = ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'];
    39263926    $same_domain = ( strpos( $login_url, $current_domain ) === 0 );
Note: See TracChangeset for help on using the changeset viewer.