[Bb-trac] Re: [bbPress] #827: bb_activate_plugin_ isn't triggering
in 0.9 beta?
bbPress
bb-trac at lists.bbpress.org
Sat Mar 15 20:37:25 GMT 2008
#827: bb_activate_plugin_ isn't triggering in 0.9 beta?
----------------------+-----------------------------------------------------
Reporter: _ck_ | Owner: sambauers
Type: defect | Status: new
Priority: high | Milestone: 0.9
Component: Back-end | Version:
Severity: major | Resolution:
Keywords: |
----------------------+-----------------------------------------------------
Changes (by mdawaffe):
* owner: => sambauers
Comment:
Plugins should not try and form the hook name for themselves.
Plugins should use {{{bb_register_activation_hook( __FILE__, $callback
)}}} and {{{bb_register_deactivation_hook( __FILE__, $callback)}}}. These
functions (and the bb_plugin_basename( __FILE__ )}}} they depend on have
been around since 0.8.2 I think.
sambauers, should we really deprecate those functions in favor of
{{{bb_register_plugin_activation_hook()}}}?
--
Ticket URL: <http://trac.bbpress.org/ticket/827#comment:1>
bbPress <http://bbpress.org/>
Innovative forum development
More information about the Bb-trac
mailing list