#38868 closed defect (bug) (wontfix)
Merge two option managment error messages
Reported by: | ramiy | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.7 |
Component: | I18N | Keywords: | has-patch has-screenshots close |
Focuses: | administration | Cc: |
Description
See the attached patch.
Attachments (2)
Change History (7)
#3
@
8 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.
Note: See
TracTickets for help on using
tickets.
The patch unifies 7 translation strings that checks
if ( ! current_user_can( 'manage_options' ) )
.