Opened 7 years ago
Closed 7 years ago
#42767 closed defect (bug) (duplicate)
'update_languages' capability is not promped to admins
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.9 |
Component: | General | Keywords: | |
Focuses: | administration | Cc: |
Description
since 4.9 my admin user is not able to update language files anymore, no information about available language updates is shown. (But is shown in the number of available updates in admin bar and menu.)
When I change in /wp-admin/update-core.php line 630 to
if ( current_user_can( 'update_languages' ) || current_user_can( 'manage_options' ) ) {
and line 746 to
if ( ! current_user_can( 'update_languages' ) && ! current_user_can( 'manage_options' ) ) {
it works again.
So it seems somewhere the capability failed to be added to the admin.
Change History (3)
Note: See
TracTickets for help on using
tickets.
@flixos90 Can you have a look?