[wp-trac] [WordPress Trac] #64077: Cache is_multisite() and is_network_admin() to reduce redundant calls

WordPress Trac noreply at wordpress.org
Sat Oct 4 05:00:31 UTC 2025


#64077: Cache is_multisite() and is_network_admin() to reduce redundant calls
-----------------------------------------+-----------------------------
 Reporter:  mukesh27                     |      Owner:  mukesh27
     Type:  defect (bug)                 |     Status:  assigned
 Priority:  normal                       |  Milestone:  Awaiting Review
Component:  Plugins                      |    Version:
 Severity:  normal                       |   Keywords:  needs-patch
  Focuses:  administration, performance  |
-----------------------------------------+-----------------------------
 The `wp-admin/plugins.php` file makes repeated calls to `is_multisite()`
 and `is_network_admin()` throughout the plugin management logic. This
 leads to redundant function calls that can add up on sites with many
 plugins.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64077>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list