Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: MU 2.9.1 Upgrade … What broke?


Mark
Participant

@wpsec

simple solution for plugin devs:

Write your plugins as a class, then add an action to instantiate the class upon bp_init.

Sort of like this :

class myclass {

[whatever code]

}

add_action(‘bp_init’, ‘fire_my_stuff’);

function fire_mystuff() {

$my_plugin_class = new myclass();

}

That’s it.

Skip to toolbar