Developing plugins for 1.1 and 1.2
I searched around and couldn’t find anything on this, I apologize if it’s been covered elsewhere.
What’s the best way to develop plugins that work on both 1.1 and 1.2 without modification?
An obvious solution would be to have the plugin detect the version, and execute the appropriate code. This leads to my next question: how can I get the current installed version of buddypress? I searched the $bp global, but couldn’t find anything.
Also, would this lead to bloated plugins?
Alternately, I can develop for just 1.1 and depend on the backward compatibility plugin, but if I want to be proactive and develop for 1.2, are 1.1 users left in the cold?
You must be logged in to reply to this topic.