Ticket #23024: 23024.diff
File 23024.diff, 1.6 KB (added by , 12 years ago) |
---|
-
wp-includes/plugin.php
606 606 * When a plugin is activated, the action 'activate_PLUGINNAME' hook is 607 607 * activated. In the name of this hook, PLUGINNAME is replaced with the name of 608 608 * the plugin, including the optional subdirectory. For example, when the plugin 609 * is located in wp-content/plugin /sampleplugin/sample.php, then the name of609 * is located in wp-content/plugins/sampleplugin/sample.php, then the name of 610 610 * this hook will become 'activate_sampleplugin/sample.php'. When the plugin 611 611 * consists of only one file and is (as by default) located at 612 * wp-content/plugin /sample.php the name of this hook will be612 * wp-content/plugins/sample.php the name of this hook will be 613 613 * 'activate_sample.php'. 614 614 * 615 615 * @package WordPress … … 630 630 * When a plugin is deactivated, the action 'deactivate_PLUGINNAME' hook is 631 631 * deactivated. In the name of this hook, PLUGINNAME is replaced with the name 632 632 * of the plugin, including the optional subdirectory. For example, when the 633 * plugin is located in wp-content/plugin /sampleplugin/sample.php, then633 * plugin is located in wp-content/plugins/sampleplugin/sample.php, then 634 634 * the name of this hook will become 'activate_sampleplugin/sample.php'. 635 635 * 636 636 * When the plugin consists of only one file and is (as by default) located at 637 * wp-content/plugin /sample.php the name of this hook will be637 * wp-content/plugins/sample.php the name of this hook will be 638 638 * 'activate_sample.php'. 639 639 * 640 640 * @package WordPress