mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Improved logged out warnings, first run, props mintindeed, see #23295
git-svn-id: https://develop.svn.wordpress.org/trunk@23504 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -3883,4 +3883,18 @@ function wp_is_stream( $path ) {
|
||||
*/
|
||||
function wp_checkdate( $month, $day, $year, $source_date ) {
|
||||
return apply_filters( 'wp_checkdate', checkdate( $month, $day, $year ), $source_date );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Load the auth check, for monitoring whether the user is still logged in
|
||||
*
|
||||
* @since 3.6.0
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function wp_auth_check_load() {
|
||||
if ( ! class_exists('WP_Auth_Check') ) {
|
||||
require( ABSPATH . WPINC . '/class-wp-auth-check.php' );
|
||||
WP_Auth_Check::get_instance();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user