You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a donor or site admin, I want error messages that are helpful and inoffensive so that I can take action to resolve the problem.
In the UK (at least) the word nonce is slang associated with concept of pedophilia.
Current Behavior
There are several places in the Give Core Code as well as add-ons that the word nonce is used in the front-end output of an error. So in addition to it not being helpful (a donor has no idea what Nonce verification failed means or the steps to resolve the problem), it can be offensive to see a slang term displayed.
Expected Behavior
I expect any error message to point to what specifically is going wrong, and how the reader of the error message can resolve the issue.
I expect that a site administrator or support technician would know exactly where in the code the error message is coming from to be able to resolve it quickly.
I expect there to be no offensive terminology in error messages.
Bug Type
This bug describes functionality that never worked as expected.
Steps to Reproduce
Browse the code searching for the word nonce in translatable/echoed strings.
See that many of them are similar to one another, but slightly different in terms of precisely the same string.
Possible Solution
Make a list of each error message, and explain in layman's terms what is actually happening to cause the error message.
Create error messages that allow the Donor, User, and Support technician to all take necessary action.
We have some strings that are totally redundant and should be combined:
"Nonce verification failed."
"Nonce verification has failed."
There's also a few instances of both of those variations with or without periods, so our .POT file could end up having 4 different strings all with the same meaning.
Some of these are on the admin side, others are frontend. Here's what I suggest:
We're unable to recognize your session. Please refresh the screen to try again; otherwise contact your website administrator for assistance.
I think this covers the issue and provides action to be tried accurately whether it's on the admin or visitor-facing side. Let's just make sure it's consistent with in all instances so we don't double translators efforts.
Bug Report
User Story
As a donor or site admin, I want error messages that are helpful and inoffensive so that I can take action to resolve the problem.
In the UK (at least) the word
nonce
is slang associated with concept of pedophilia.Current Behavior
There are several places in the Give Core Code as well as add-ons that the word
nonce
is used in the front-end output of an error. So in addition to it not being helpful (a donor has no idea whatNonce verification failed
means or the steps to resolve the problem), it can be offensive to see a slang term displayed.Expected Behavior
I expect any error message to point to what specifically is going wrong, and how the reader of the error message can resolve the issue.
I expect that a site administrator or support technician would know exactly where in the code the error message is coming from to be able to resolve it quickly.
I expect there to be no offensive terminology in error messages.
Bug Type
Steps to Reproduce
nonce
in translatable/echoed strings.Possible Solution
Make a list of each error message, and explain in layman's terms what is actually happening to cause the error message.
Create error messages that allow the Donor, User, and Support technician to all take necessary action.
Related
https://secure.helpscout.net/conversation/873431370/41330/
Acceptance Criteria
nonce
is never output on the front end or back end of the site.Error 38: session issues. Please contact _______
The text was updated successfully, but these errors were encountered: