Make WordPress Core


Ignore:
Timestamp:
02/28/2013 08:57:17 AM (13 years ago)
Author:
azaozz
Message:

Improved logged out warnings, first run, props mintindeed, see #23295

File:
1 edited

Legend:

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

    r23434 r23504  
    38853885    return apply_filters( 'wp_checkdate', checkdate( $month, $day, $year ), $source_date );
    38863886}
     3887
     3888/**
     3889 * Load the auth check, for monitoring whether the user is still logged in
     3890 *
     3891 * @since 3.6.0
     3892 *
     3893 * @return void
     3894 */
     3895function wp_auth_check_load() {
     3896    if ( ! class_exists('WP_Auth_Check') ) {
     3897        require( ABSPATH . WPINC . '/class-wp-auth-check.php' );
     3898        WP_Auth_Check::get_instance();
     3899    }
     3900}
Note: See TracChangeset for help on using the changeset viewer.