-
Notifications
You must be signed in to change notification settings - Fork 59
scbLoad
scribu edited this page Jul 16, 2012
·
2 revisions
The scbLoad4 class ensures that only one version of the classes are loaded. Also, it attempts to load the most recent version available.
Here's a general overview of how it works:
- Hook into 'plugins_loaded' and wait for all possible candidates* to load.
- Choose the candidate with the most recent version.
- Fire plugin activation hooks, if necessary. ← this is the trickiest part
* A candidate is a folder containing the scbFramework classes.