Skip to content

Commit

Permalink
#1237 menubar closed in dashboard/plugin
Browse files Browse the repository at this point in the history
menubar doesn t open an extension like it used to, for example dashboard opend photos and plugins opened tools below
  • Loading branch information
GitBluub authored and plegall committed Oct 22, 2020
1 parent 5ac32db commit f8f219b
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions admin/include/functions.php
Expand Up @@ -2588,18 +2588,14 @@ function get_active_menu($menu_page)
case 'notification_by_mail':
return 2;

case 'plugins':
case 'plugin':
return 3;

case 'site_manager':
case 'site_update':
case 'stats':
case 'history':
case 'maintenance':
case 'comments':
case 'updates':
return 4;
return 3;

case 'configuration':
case 'derivatives':
Expand All @@ -2608,10 +2604,10 @@ function get_active_menu($menu_page)
case 'themes':
case 'theme':
case 'languages':
return 5;
return 4;

default:
return 0;
return -1;
}
}

Expand Down

0 comments on commit f8f219b

Please sign in to comment.