Make WordPress Core

Opened 9 years ago

Closed 7 years ago

#42269 closed enhancement (fixed)

i18n: Unify permission error messages for content import/export

Reported by: ramiy Owned by: SergeyBiryukov
Priority: normal Milestone: 5.3
Component: Text Changes Version:
Severity: normal Keywords: has-patch has-screenshots
Cc: Focuses:

Description

This patch fixes the error message displayed when we check whether the current_user_can( 'import' ) or current_user_can( 'export' ).

Attachments (2)

42269.png​ (83.4 KB ) - added by ramiy 9 years ago.
42269.patch​ (601 bytes ) - added by ramiy 9 years ago.

Download all attachments as: .zip

Change History (8)

@ramiy
9 years ago

@ramiy
9 years ago

#1 @ramiy
9 years ago

  • Keywords has-patch has-screenshots added

#2 @ramiy
9 years ago

Should be:

  • Sorry, you are not allowed to export content.
  • Sorry, you are not allowed to import content.

#3 @ocean90
9 years ago

  • Component I18N → Text Changes
  • Type defect (bug) → enhancement

#4 @ramiy
9 years ago

Good catch!
What text do you suggest to use in this case?

#5 @SergeyBiryukov
7 years ago

  • Milestone Awaiting Review → 5.3

#6 @SergeyBiryukov
7 years ago

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

In 45440:

I18N: Use consistent error messages when importing or exporting content.

Props ramiy.
Fixes #42269.

Note: See TracTickets for help on using tickets.