daithi-coombes/api-connection-manager — pull request #6 by daithi-coombes (2013-05-05 09:01:58+00:00)
Title: bootstrapping

@ryanholder @mrdavidlaing
to put on the list...

issue
====
currently plugin developers are going to have to link to the api connection managers index.php file. The reason for this is there is no mechanism built at the moment to make sure the api-con plugin gets loaded first, therefore if the plugin dev's loads first it won't find the api-con class without including the file.
```php
require_once( WP_PLUGIN_DIR . "/api-connection-manager/index.php");
```

solution
======
Wordpress calls the order of plugins from a serialized array, adding a hook to re-organise the serialized db entry would enforce the api-con to be first plugin loaded. We could hook into a query being executed so there wouldn't be extra load and run it on every page load, a hook thats before the loading of plugins.