[wp-trac] [WordPress Trac] #35488: wp_logout() not working as it should

WordPress Trac noreply at wordpress.org
Sat Oct 12 03:09:08 UTC 2019


#35488: wp_logout() not working as it should
--------------------------------------+-----------------------------
 Reporter:  sebastian.pisula          |       Owner:  SergeyBiryukov
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  5.3
Component:  Users                     |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"46467" 46467]:
 {{{
 #!CommitTicketReference repository="" revision="46467"
 Users: Make sure `wp_logout()` clears current user, so that a subsequent
 call to `is_user_logged_in()` works as expected.

 Props sebastian.pisula, donmhico, roytanck, juliobox.
 Fixes #35488.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/35488#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list