For example you’ve left the browser window open on the WordPress dashboard and your session has expired and you click on a menu item you get redirected to page that says:
Cheatin’ uh?
Sorry, you are not allowed to list users.
This is not professional, nor useful.
It should instead give you a message that says something like:
“You need to login as an administrator to view this page.”
With a login form below
Read-only archive : Issues · ClassicPress/ClassicPress · GitHub
Author : Ashley Goodman
Vote count : 58
Status : Completed (commit )
Tags :
Comments
Agreed, let’s remove all instances of “Cheatin’, uh?” for v1. A good next step from here would be an issue or PR on GitHub.
In this specific case, the error message should just say “Sorry, you are not allowed to list users.” If a shorter text is needed as a title/heading it could be simply “Error” or “An error occurred”.
~ posted by James Nylen
Good idea!
~ posted by Tim Kaye
Makes sense. What about providing a login form on that page? Is that a security risk? Everytime I’ve hit that screen it was after my login expired and I needed to login again
~ posted by Ashley Goodman
viktor
September 7, 2021, 2:06am
2
I know we’re making CP more professional. So I’m voting again on this one and encourage others to do so too.
2 Likes
Didn’t CP get this fix from WP?
Ticket #38332 ("Cheating" message insults; needs changing) – WordPress Trac was backported to 4.9 in March of 2018.
1 Like
viktor
September 7, 2021, 4:20am
4
Thanks, you’re right. Looks like it is fixed, using “Something went wrong.” For reference, here’s the commit in CP’s repository
committed 12:14AM - 09 Mar 18 UTC
While intended as a playful error message, `Cheatin’ uh?` can be interpreted as … insulting or accusatory in an already stressful situation. This replaces Cheatin’ with more meaningful error messages, depending on the error that occurs.
Props ElectricFeet, EricMeyer, karmatosed, dd32, BandonRandon, melchoyce, kristastevens for language; dmsnell for original patch; peterwilsoncc.
Merged [42648] and [42719] to the 4.9 branch.
Fixes #38332.
git-svn-id: https://develop.svn.wordpress.org/branches/4.9@42811 602fd350-edb4-49c9-b593-d223f7449a82
I will mark this petition completed and it will auto-close in a few days, in case there’s something we missed.
3 Likes