[wp-trac] [WordPress Trac] #14949: Login gives false assurance of having logged out

WordPress Trac noreply at wordpress.org
Thu Jun 6 06:48:49 UTC 2024


#14949: Login gives false assurance of having logged out
-------------------------------------+-------------------------------------
 Reporter:  filosofo                 |       Owner:  rajinsharwar
     Type:  defect (bug)             |      Status:  accepted
 Priority:  normal                   |   Milestone:  6.6
Component:  Login and Registration   |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  administration,
  dev-feedback 2nd-opinion           |  multisite
-------------------------------------+-------------------------------------

Comment (by hmbashar):

 == Test Report

 === Description

 Before applying the patch, when I visited `mydomain.com/wp-
 login.php?loggedout=true`, it showed the message "You are now logged out"
 (see screenshot: https://prnt.sc/XSWd-6hPLDrV). However, if I returned to
 the homepage, it still showed that I was logged in (see screenshot:
 https://prnt.sc/RVDFFMnLpc3A). After applying the patch 14949.3.diff​,
 visiting the same URL (`mydomain.com/wp-login.php?loggedout=true`) now
 redirects to the dashboard.

 Patch tested: [attachment:"14949.3.diff"]

 === Environment
 - WordPress: 6.6-alpha-57778-src
 - PHP: 8.3.7
 - Server: nginx/1.25.4
 - Database: mysqli (Server: 8.3.0 / Client: mysqlnd 8.3.7)
 - Browser: Chrome 125.0.0.0
 - OS: macOS
 - Theme: Twenty Eleven 4.6
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.1.0

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


More information about the wp-trac mailing list