scribu/wp-posts-to-posts — pull request #414 by bradyvercher (2014-02-22 20:12:38+00:00)
Title: Activation conflict with a bundled version of Posts to Posts core

If a plugin or theme is activated that has a bundled version of Posts to Posts core, trying to activate this plugin throws errors and it can't be activated. It will work if Posts to Posts is activated before the plugin or theme with the bundled version.

I couldn't seem to work around the sorcery in `scb_init()`, so adding the same check for `p2p_register_connection_type` from the [bundling instruction](https://github.com/AppThemes/wp-posts-to-posts-core/wiki/Bundling-in-a-plugin) seemed like the best route.