WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #39903, comment 1


Ignore:
Timestamp:
02/17/2017 03:12:06 PM (3 years ago)
Author:
esemlabel
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #39903, comment 1

    initial v1  
    77    $user = wp_get_current_user();
    88   
    9     if( $user->exists() && empty( wp_get_session_token() ) ){
     9    if( $user->exists() && ! wp_get_session_token() ){
    1010        wp_set_current_user( 0 );
    1111        return false;