[wp-trac] [WordPress Trac] #34521: Unifying permission error messages

WordPress Trac noreply at wordpress.org
Thu Mar 3 00:31:37 UTC 2016


#34521: Unifying permission error messages
-------------------------------------+-----------------------------
 Reporter:  ramiy                    |       Owner:  SergeyBiryukov
     Type:  task (blessed)           |      Status:  reviewing
 Priority:  normal                   |   Milestone:  4.5
Component:  Text Changes             |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:
-------------------------------------+-----------------------------

Comment (by ramiy):

 Guys, you are forgetting that those are not general error messages, it's
 only `permission` messages. They come after `!current_user_can('xxx')`,
 when the user don't have sufficient permissions to do something.

 Maybe we should consider using:

 * `You don't have permission to ...`
 * `You do not have permission to ...`
 * `You don't have sufficient permissions to ...`
 * `You do not have sufficient permissions to ...`

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


More information about the wp-trac mailing list