General: Improve terminology used when referring to installations of WordPress and its extensions.
"Install" is not a noun, and while it might be acceptable to use the verb as a noun, it is not correct. Using the correct noun, "installation", increases clarity, especially for non-native English speakers. This change fixes the usage in user-facing text and in developer documentation. Fixes #41620 Built from https://develop.svn.wordpress.org/trunk@41289 git-svn-id: http://core.svn.wordpress.org/trunk@41129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -780,12 +780,12 @@ function register_deactivation_hook($file, $function) {
|
||||
* The plugin should not run arbitrary code outside of functions, when
|
||||
* registering the uninstall hook. In order to run using the hook, the plugin
|
||||
* will have to be included, which means that any code laying outside of a
|
||||
* function will be run during the uninstall process. The plugin should not
|
||||
* hinder the uninstall process.
|
||||
* function will be run during the uninstallation process. The plugin should not
|
||||
* hinder the uninstallation process.
|
||||
*
|
||||
* If the plugin can not be written without running code within the plugin, then
|
||||
* the plugin should create a file named 'uninstall.php' in the base plugin
|
||||
* folder. This file will be called, if it exists, during the uninstall process
|
||||
* folder. This file will be called, if it exists, during the uninstallation process
|
||||
* bypassing the uninstall hook. The plugin, when using the 'uninstall.php'
|
||||
* should always check for the 'WP_UNINSTALL_PLUGIN' constant, before
|
||||
* executing.
|
||||
|
||||
Reference in New Issue
Block a user