WordPress.org

Make WordPress Core

Ticket #35488: 35488.patch

File 35488.patch, 506 bytes (added by sebastian.pisula, 4 years ago)
  • wp-includes/pluggable.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    604604function wp_logout() {
    605605        wp_destroy_current_session();
    606606        wp_clear_auth_cookie();
     607        wp_set_current_user( 0 );
    607608
    608609        /**
    609610         * Fires after a user is logged-out.