Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#38868 closed defect (bug) (wontfix)

Merge two option managment error messages

Reported by: ramiy Owned by:
Priority: normal Milestone:
Component: I18N Version: 4.7
Severity: normal Keywords: has-patch has-screenshots close
Cc: Focuses: administration

Description

See the attached patch.

Attachments (2)

manage-options.png (37.3 KB ) - added by ramiy 10 years ago.
38868.patch (3.8 KB ) - added by ramiy 10 years ago.

Download all attachments as: .zip

Change History (7)

@ramiy
10 years ago

@ramiy
10 years ago

#1 @ramiy
10 years ago

  • Keywords has-patch has-screenshots added

#2 @ramiy
10 years ago

The patch unifies 7 translation strings that checks if ( ! current_user_can( 'manage_options' ) ).

#3 @SergeyBiryukov
10 years ago

  • Keywords close added

Most of those strings refer to the general manage_options capability, whereas the one in wp-admin/options.php refers to the capability passed through the option_page_capability_{$option_page} filter, so I think the more specific "Sorry, you are not allowed to manage these options" string from [39308] is more appropriate there.

#4 @ramiy
10 years ago

  • Resolutionwontfix
  • Status newclosed

#5 @netweb
10 years ago

  • Milestone Awaiting Review
Note: See TracTickets for help on using tickets.