[wp-trac] [WordPress Trac] #14530: "Cheatin', uh?" is not helpful feedback for users or developers

WordPress Trac noreply at wordpress.org
Thu Jan 15 11:44:16 UTC 2015


#14530: "Cheatin', uh?" is not helpful feedback for users or developers
-----------------------------+-----------------------
 Reporter:  shidouhikari     |       Owner:
     Type:  enhancement      |      Status:  reopened
 Priority:  normal           |   Milestone:  4.2
Component:  Role/Capability  |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |     Focuses:  ui
-----------------------------+-----------------------

Comment (by guidod):

 > If they can be accessed in a normal setup via the UI then that is a bug

 By that logic, 404s are bugs too, but that doesn't mean they shouldn't be
 translated to a friendly message to end users. Otherwise, let's replace
 the template_redirection to 404.php with a "Cheating, uh?" as well.

 This should NOT be a debug message. As Eric Lewis points out, this is
 required information for anyone that follows a URL, either bookmarked or
 sent by another user of the WordPress instance, that he can't access. This
 is, in fact, unlikely to happen on development and debug instances; it
 confuses users on PRODUCTION sites.

 Replying to [comment:46 jorbin]:
 > rmccue is absolutely correct, we don't expose capabilities in the UI
 anywhere, I don't think we should start.

 But we expose roles, and users. If the role field isn't called "Uh huh
 foo-bar" then the role/permissions-related error message shouldn't read
 "Cheating, uh?".

--
Ticket URL: <https://core.trac.wordpress.org/ticket/14530#comment:47>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list