#15166 closed defect (bug) (fixed)
is_plugin_active() returns based on current site in Network Admin
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 3.1 | Priority: | normal |
Severity: | minor | Version: | |
Component: | Administration | Keywords: | has-patch |
Focuses: | Cc: |
Description
is_plugin_active()
uses the 'active_plugins' option, which is site-specific, as well as is_plugin_active_for_network()
.
Most obviously affects the Plugins section in Network Admin, which displays both the current site's plugins as well as those network activated as being active.
Attachments (3)
Change History (7)
#2
@
14 years ago
We wouldn't put this logic into is_plugin_active. Where I would put the logic, already has the logic -- It looks like we've properly accounted for is_network_admin() in WP_Plugins_Table::display_rows(). I also can't reproduce this.
Note: See
TracTickets for help on using
tickets.
Use is_network_admin() check before using 'active_plugins' option