[wp-trac] [WordPress Trac] #14530: Cheating huh?

WordPress Trac noreply at wordpress.org
Sat Feb 2 01:10:33 UTC 2013


#14530: Cheating huh?
-----------------------------+-----------------------
 Reporter:  shidouhikari     |       Owner:
     Type:  defect (bug)     |      Status:  reopened
 Priority:  normal           |   Milestone:
Component:  Role/Capability  |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |
-----------------------------+-----------------------
Changes (by kraftbj):

 * cc: bk@… (added)
 * status:  closed => reopened
 * resolution:  wontfix =>


Comment:

 I'd like to request reconsideration of this ticket.

 While rare, when encountered it gives an unprofessional appearance of
 WordPress. I had a contact from a perspective client who ditched their
 previous consultant primarily because, after seeing this error message,
 assumed the guy was doing something shading on his site.

 I grant that for it to appear, the consultant was probably doing something
 wrong, but that isn't the point.

 Despite the rarity, is there a reason that it should be kept at "Cheatin'"
 and not something else?

 To recreate message:
 0. Log in to /wp-admin/ as privileged user (administrator, editor), etc.
 Leave that tab alone.
 1. In separate tab, visit /wp-login.php and login as a Subscriber user.
 2. In original tab, visit the Categories or Tags link (Posts->Tags, etc).

 That workflow isn't common, but I could foresee someone in IT showing off
 a feature of WordPress to someone on the business side of a company and
 getting that message after mistakenly switching to the wrong tab/not re-
 logging in first/etc.

 Three ideas:
 0. Use the standard permissions error message ("You do not have sufficient
 permissions to access this page.") and reduce a string for the polyglots.
 1. Use something slightly different to keep it unique to the cheater
 check. ("You do not have permission to view this page.")
 2. Something more unique ("A permissions error occurred while attempting
 to access this page.") to help polyglots keep it different.

 Patches forthcoming for the three options.

 tl;dr -- Sterilize the error a bit to make it more palatable to folks who
 don't understand our sense of humor. Nothing more needed.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14530#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list