WordPress option: active_plugins vs WP multisite: active_sitewide_plugins
FYI => I was pulling an error with a plugin I developed and ended up trolling around the bowels of WordPress, specifically WordPress multisite.
WordPress single-site has a site get_option ‘active_plugins’. For WP multisite it’s get_site_option ‘active_sitewide_plugins’. The issue is, single-site uses an array with numbers—representing plugin load order—as they key. Like this:
 => hello-dolly/hello.php
On the other hand, WP multisite uses an associative array with the plugin name as the key and some integer as the value. Like this:
[hello-dolly/hello.php] => 1369572703
The broader issue was to manipulate the load order of the plugins. Once I understood the array types were different I added an is_mutisite() conditional and manipulated the arrays appropriately. When I find out why the array types are different I’ll let you know.
Next problem: Figure out why WordPress multisite doesn’t seem to like PHP slp autoload.