WordPress.org

Make WordPress Core

Changeset 23190


Ignore:
Timestamp:
12/20/12 15:49:55 (4 years ago)
Author:
helen
Message:

Correct phpdoc for wp-includes/plugin.php: wp-content/plugins/, not wp-content/plugin/. props technosailor. fixes #23024.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/plugin.php

    r21299 r23190  
    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 * 
     
    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 * 
Note: See TracChangeset for help on using the changeset viewer.