Logged out warnings: by default, load only in the admin. Plugins and themes can load on the front-end when needed, see #23295
git-svn-id: http://core.svn.wordpress.org/trunk@23881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4b50a68937
commit
bdc3e9bdb9
|
@ -295,6 +295,6 @@ add_filter( 'default_option_embed_autourls', '__return_true' );
|
|||
add_filter( 'heartbeat_settings', 'wp_heartbeat_settings' );
|
||||
|
||||
// Check if the user is logged out
|
||||
add_action( 'init', 'wp_auth_check_load' );
|
||||
add_action( 'admin_init', 'wp_auth_check_load' );
|
||||
|
||||
unset($filter, $action);
|
||||
|
|
Loading…
Reference in New Issue