From bcb9eef7cd59be08305a1c1e549aff99f4eada2b Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Fri, 5 Apr 2013 23:28:40 +0000 Subject: [PATCH] Logged out warnings: fix phpdoc, props ocean90, see #23295 git-svn-id: http://core.svn.wordpress.org/trunk@23922 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 30a7f1715b..0afa50b6d3 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -3888,7 +3888,7 @@ function wp_checkdate( $month, $day, $year, $source_date ) { /** * Load the auth check for monitoring whether the user is still logged in. - * Can be disabled with remove_action( 'init', 'wp_auth_check_load' ); + * Can be disabled with remove_action( 'admin_init', 'wp_auth_check_load' ); * * @since 3.6.0 * @@ -3924,7 +3924,7 @@ function wp_auth_check_html() { $login_url = wp_login_url(); $current_domain = ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST']; $same_domain = ( strpos( $login_url, $current_domain ) === 0 ); - + // Let plugins change this if they know better. $same_domain = apply_filters( 'wp_auth_check_same_domain', $same_domain ); $wrap_class = $same_domain ? 'hidden' : 'hidden fallback';