[wp-trac] [WordPress Trac] #52600: wp_nonce_ays('log-out') is confusing

WordPress Trac noreply at wordpress.org
Mon Feb 22 15:20:27 UTC 2021


#52600: wp_nonce_ays('log-out') is confusing
-----------------------------+-----------------------------
 Reporter:  david.kryzaniak  |      Owner:  (none)
     Type:  enhancement      |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  General          |    Version:
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 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?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52600>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list