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

WordPress Trac noreply at wordpress.org
Mon Jul 4 23:10:59 UTC 2016


#34521: Unifying permission error messages
--------------------------------------+----------------------
 Reporter:  ramiy                     |       Owner:  ocean90
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  4.6
Component:  Text Changes              |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  good-first-bug has-patch  |     Focuses:
--------------------------------------+----------------------

Comment (by ramiy):

 @SergeyBiryukov, the screenshot has few more changes.

 ----

 I also think we should either remove the suffix or unify the suffix in
 those strings.

 The current structure: '''Sorry, you are not allowed to
 <action><suffix>.'''

 Action examples:
 * '''add''' posts/pages/comments
 * '''edit''' posts/pages/comments/themes/plugins
 * '''delete''' posts/pages/comments/themes/plugins
 * '''manage''' themes/plugins/options
 * '''install''' themes/plugins

 Suffix examples (currently in use):
 * on this site
 * for this site
 * in this site
 * of this site
 * as this user

 I personally think, in most case, we can ditch the suffix.

 In other cases, where we use "'''to this network'''", we should not remove
 the suffix.

 But we can definitely remove "'''as this user'''" suffix.

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


More information about the wp-trac mailing list