Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#50721 closed defect (bug) (fixed)

i18n: Unify permission error messages in ajax actions

Reported by: ramiy Owned by: SergeyBiryukov
Priority: normal Milestone: 5.5
Component: I18N Version:
Severity: normal Keywords: has-patch
Cc: Focuses: administration

Description

Use consistent error messages in ajax-actions when updating themes and plugins.

Related: #34521, #42269

Attachments (1)

50721.patch​ (888 bytes ) - added by ramiy 6 years ago.

Download all attachments as: .zip

Change History (5)

@ramiy
6 years ago

#1 @ramiy
6 years ago

  • Keywords has-patch added

#2 @ramiy
6 years ago

Current strings:

  • You do not have permission to modify plugins.
  • You do not have permission to modify themes.

New strings:

  • Sorry, you are not allowed to modify plugins.
  • Sorry, you are not allowed to modify themes.

#3 @SergeyBiryukov
6 years ago

  • Milestone Awaiting Review → 5.5

#4 @SergeyBiryukov
6 years ago

  • Owner set to SergeyBiryukov
  • Resolution → fixed
  • Status new → closed

In 48534:

Site Health: Use consistent error messages when switching plugin or theme auto-updates on or off.

Props ramiy.
Fixes #50721.

Note: See TracTickets for help on using tickets.