mpeshev / DX-Plugin-Base

Plugin Framework for rapid WordPress Plugin development!
http://devrix.com/dx-plugin-base
114 stars 24 forks source link

fix register_activation_hook, register_deactivation_hook #1

Closed tokkonopapa closed 11 years ago

tokkonopapa commented 11 years ago

Fixed PHP warning:

call_user_func_array() expects parameter 1 to be a valid callback, function 'dx_on_activate_callback' not found or invalid function name

This kind of patch is effective for you plugin on Wordpress.org .

mpeshev commented 11 years ago

Good catch, I've missed the warning on this one, thanks for pointing it out.