Plugin Directory


Ignore:
Timestamp:
10/31/2026 05:53:57 AM (3 days ago)
Author:
xplodedthemes
Message:

Update v3.6.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wpide/trunk/App/App.php

    r3771999 r3776366  
    277277    public function canManage(): bool
    278278    {
     279        if (is_multisite() && !is_super_admin()) {
     280            return false;
     281        }
     282
    279283        return current_user_can('manage_options');
    280284    }
    … …  
    293297    public function adminMenu()
    294298    {
     299        if (!$this->canManage()) {
     300            return;
     301        }
    295302
    296303        $menuTopItems = apply_filters('wpide_admin_menu_top_items', [
Note: See TracChangeset for help on using the changeset viewer.