Changeset 3776366 for wpide/trunk/App/App.php
- Timestamp:
- 10/31/2026 05:53:57 AM (3 days ago)
- File:
-
- 1 edited
-
wpide/trunk/App/App.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wpide/trunk/App/App.php
r3771999 r3776366 277 277 public function canManage(): bool 278 278 { 279 if (is_multisite() && !is_super_admin()) { 280 return false; 281 } 282 279 283 return current_user_can('manage_options'); 280 284 } … … 293 297 public function adminMenu() 294 298 { 299 if (!$this->canManage()) { 300 return; 301 } 295 302 296 303 $menuTopItems = apply_filters('wpide_admin_menu_top_items', [
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)