Support » Plugin: Last Login » [Plugin: Last Login] Calling function stops page creation

Viewing 2 replies - 1 through 2 (of 2 total)
  • Call to undefined function last_login_time() is a bug in get_last_login_current_user(). Line 100 should be a call to the proceeding function get_last_login().
    Change:
    function get_last_login_current_user($format=’%c’) {
    $current_user = wp_get_current_user();
    return last_login_time($current_user->ID, $format);
    }

    To:
    function get_last_login_current_user($format=’%c’) {
    $current_user = wp_get_current_user();
    return get_last_login($current_user->ID, $format);
    }

    richalt2 – thanks! Of course that did the trick.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Last Login] Calling function stops page creation’ is closed to new replies.