voceconnect/lift-search — pull request #53 by stevenkword (2013-10-24 02:58:30+00:00)
Title: Moving init hook from 'plugins_loaded' to 'after_theme_setup' for WPCOM ...

This change is coming out of WordPress VIP Request #22896. Mo asked me to create the pull request.

I am in the process of working on an Amazon Cloud Search. In the process, I discovered a problem with using the Lift Search plugin within the WordPress VIP environment. The plugin's 'init' method is currently hooked on the 'plugins_loaded' action. Because VIP plugins are loaded through the Theme APIs rather than the Plugins API, the current hook is too early. This is preventing the plugin from initializing.

This patch that corrects the problem by moving the plugin's init action to 'after_theme_setup'. Please let me know if you have any questions.