Make WordPress Core

Opened 7 years ago

Closed 5 years ago

#42269 closed enhancement (fixed)

i18n: Unify permission error messages for content import/export

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


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 7 years ago.
42269.patch (601 bytes) - added by ramiy 7 years ago.

Download all attachments as: .zip

Change History (8)

7 years ago

7 years ago

#1 @ramiy
7 years ago

  • Keywords has-patch has-screenshots added

#2 @ramiy
7 years ago

Should be:

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

#3 @ocean90
7 years ago

  • Component changed from I18N to Text Changes
  • Type changed from defect (bug) to enhancement

#4 @ramiy
7 years ago

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

#5 @SergeyBiryukov
5 years ago

  • Milestone changed from Awaiting Review to 5.3

#6 @SergeyBiryukov
5 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to 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.