[Bb-trac] [bbPress] #756: bb_register_deactivation_hook() calls
wrong function
bbPress
bb-trac at lists.bbpress.org
Mon Oct 29 00:52:56 GMT 2007
#756: bb_register_deactivation_hook() calls wrong function
----------------------------+-----------------------------------------------
Reporter: livibetter | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Administration | Version: 0.8.3
Severity: normal | Keywords:
----------------------------+-----------------------------------------------
Line 2040-2043 in bb-includes/functions.php:
{{{
function bb_register_deactivation_hook($file, $function) {
$file = plugin_basename($file);
add_action('bb_deactivate_plugin_' . $file, $function);
}
}}}
should be
{{{
function bb_register_deactivation_hook($file, $function) {
$file = bb_plugin_basename($file);
add_action('bb_deactivate_plugin_' . $file, $function);
}
}}}
--
Ticket URL: <http://trac.bbpress.org/ticket/756>
bbPress <http://bbpress.org/>
Innovative forum development
More information about the Bb-trac
mailing list