[wp-trac] [WordPress Trac] #44833: Return a more accurate error message when user cannot perform the requested action

WordPress Trac noreply at wordpress.org
Sun Jan 27 08:45:24 UTC 2019


#44833: Return a more accurate error message when user cannot perform the requested
action
-------------------------------------+-----------------------------
 Reporter:  desrosj                  |       Owner:  desrosj
     Type:  defect (bug)             |      Status:  assigned
 Priority:  normal                   |   Milestone:  Future Release
Component:  Privacy                  |     Version:  4.9.6
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:  administration
-------------------------------------+-----------------------------
Changes (by garrett-eclipse):

 * keywords:  has-patch needs-testing => has-patch needs-refresh


Comment:

 Thanks @jplojohn and @mmuhsin for providing patches.

 After reviewing the verbiage I would like to suggest the following to
 match better with existing conventions for these types of messages.

 For both permission checks I'd suggest a single consistent string;[[BR]]
 `Sorry, you are not allowed to perform this action.`

 If you're able to refresh the patch that's always appreciated.

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


More information about the wp-trac mailing list