Make WordPress Core

Ticket #23024: 23024.diff

File 23024.diff, 1.6 KB (added by technosailor, 12 years ago)
  • wp-includes/plugin.php

     
    606606 * When a plugin is activated, the action 'activate_PLUGINNAME' hook is
    607607 * activated. In the name of this hook, PLUGINNAME is replaced with the name of
    608608 * the plugin, including the optional subdirectory. For example, when the plugin
    609  * is located in wp-content/plugin/sampleplugin/sample.php, then the name of
     609 * is located in wp-content/plugins/sampleplugin/sample.php, then the name of
    610610 * this hook will become 'activate_sampleplugin/sample.php'. When the plugin
    611611 * consists of only one file and is (as by default) located at
    612  * wp-content/plugin/sample.php the name of this hook will be
     612 * wp-content/plugins/sample.php the name of this hook will be
    613613 * 'activate_sample.php'.
    614614 *
    615615 * @package WordPress
     
    630630 * When a plugin is deactivated, the action 'deactivate_PLUGINNAME' hook is
    631631 * deactivated. In the name of this hook, PLUGINNAME is replaced with the name
    632632 * of the plugin, including the optional subdirectory. For example, when the
    633  * plugin is located in wp-content/plugin/sampleplugin/sample.php, then
     633 * plugin is located in wp-content/plugins/sampleplugin/sample.php, then
    634634 * the name of this hook will become 'activate_sampleplugin/sample.php'.
    635635 *
    636636 * 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 be
     637 * wp-content/plugins/sample.php the name of this hook will be
    638638 * 'activate_sample.php'.
    639639 *
    640640 * @package WordPress