1
0
Fork 0
mirror of https://github.com/inretio/WordPress-Plugin-Boilerplate synced 2024-12-22 11:53:53 +02:00

Merge pull request #214 from jessertaylor/master

Fixed deactivation hook in plugin_name.php
This commit is contained in:
Tom McFarlin 2014-09-03 10:57:25 -04:00
commit d5bb3c526f

View file

@ -44,7 +44,7 @@ require_once plugin_dir_path( __FILE__ ) . 'includes/class-plugin-name-deactivat
register_activation_hook( __FILE__, array( 'Plugin_Name_Activator', 'activate' ) ); register_activation_hook( __FILE__, array( 'Plugin_Name_Activator', 'activate' ) );
/** This action is documented in includes/class-plugin-name-deactivator.php */ /** This action is documented in includes/class-plugin-name-deactivator.php */
register_activation_hook( __FILE__, array( 'Plugin_Name_Deactivator', 'deactivate' ) ); register_deactivation_hook( __FILE__, array( 'Plugin_Name_Deactivator', 'deactivate' ) );
/** /**
* The core plugin class that is used to define internationalization, * The core plugin class that is used to define internationalization,