WordPress.org

Make WordPress Core

Opened 5 weeks ago

Last modified 5 weeks ago

#42269 new enhancement

i18n: Unify permission error messages for content import/export

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

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

Download all attachments as: .zip

Change History (6)

@ramiy
5 weeks ago

@ramiy
5 weeks ago

#1 @ramiy
5 weeks ago

  • Keywords has-patch has-screenshots added

#2 @ramiy
5 weeks ago

Should be:

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

#3 @ocean90
5 weeks ago

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

#4 @ramiy
5 weeks ago

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

Note: See TracTickets for help on using tickets.