Make WordPress Core

Opened 8 weeks ago

Last modified 7 weeks ago

#52600 new enhancement

wp_nonce_ays('log-out') is confusing

Reported by: david.kryzaniak Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: General Keywords: has-patch dev-feedback
Focuses: Cc:


When calling wp_nonce_ays('log-out') the page title is "Something went wrong." and the HTTP status is 403. That is a little confusing. I think a 200 response and "You are attempting to log out of %s" for the title makes more sense. Thoughts?

Attachments (2)

52600.patch (1.1 KB) - added by david.kryzaniak 8 weeks ago.
52600_2.patch (1.1 KB) - added by david.kryzaniak 8 weeks ago.
fixed spacing

Download all attachments as: .zip

Change History (3)

8 weeks ago

fixed spacing

#1 @david.kryzaniak
7 weeks ago

  • Keywords has-patch dev-feedback added
Note: See TracTickets for help on using tickets.