#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)
Change History (7)
#3
@
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.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
The patch unifies 7 translation strings that checks
if ( ! current_user_can( 'manage_options' ) ).