WordPress.org

Make WordPress Core

Ticket #23295: 23295-docs.patch

File 23295-docs.patch, 868 bytes (added by ocean90, 13 months ago)
  • wp-includes/functions.php

     
    38883888 
    38893889/** 
    38903890 * Load the auth check for monitoring whether the user is still logged in. 
    3891  * Can be disabled with remove_action( 'init', 'wp_auth_check_load' ); 
     3891 * Can be disabled with remove_action( 'admin_init', 'wp_auth_check_load' ); 
    38923892 * 
    38933893 * @since 3.6.0 
    38943894 * 
     
    39243924        $login_url = wp_login_url(); 
    39253925        $current_domain = ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST']; 
    39263926        $same_domain = ( strpos( $login_url, $current_domain ) === 0 ); 
    3927          
     3927 
    39283928        // Let plugins change this if they know better. 
    39293929        $same_domain = apply_filters( 'wp_auth_check_same_domain', $same_domain ); 
    39303930        $wrap_class = $same_domain ? 'hidden' : 'hidden fallback';