Scenario
- oik-lib is running as a Must-Use (MU) plugin
- oik and oik-bwtrace are both activated
- oik-bwtrace is not operating in Must-Use (MU) mode
- the bwtrace library is not loaded by wp-config.php
- Admin user visits Settings > oik trace options
Shared library loading
- oik-lib MU plugin loads the oik-lib library and invokes oik_lib_boot()
- oik_lib_boot() loads “oik_boot” and “bwtrace” libraries
- When the plugins are loaded each of them registers their filter function responding to oik_query_libs filter to indicate which libraries they offer. The priorities are such that oik trumps oik-lib and oik-bwtrace; ie. oik’s libraries are listed first
- When oik-bwtrace requires the oik-admin library, this is therefore served from the oik plugin