Update since tags. Props santosj. fixes #5625
git-svn-id: http://svn.automattic.com/wordpress/trunk@8587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d352f78b94
commit
0f8d8597c3
|
@ -343,7 +343,7 @@ function validate_plugin($plugin) {
|
|||
/**
|
||||
* Whether the plugin can be uninstalled.
|
||||
*
|
||||
* @since {@internal Version Unknown}}
|
||||
* @since 2.7
|
||||
*
|
||||
* @param string $plugin Plugin path to check.
|
||||
* @return bool Whether plugin can be uninstalled.
|
||||
|
@ -363,6 +363,8 @@ function is_uninstallable_plugin($plugin) {
|
|||
*
|
||||
* Calls the uninstall hook, if it is available.
|
||||
*
|
||||
* @since 2.7
|
||||
*
|
||||
* @param string $plugin Relative plugin path from Plugin Directory.
|
||||
*/
|
||||
function uninstall_plugin($plugin) {
|
||||
|
|
|
@ -528,6 +528,8 @@ function register_deactivation_hook($file, $function) {
|
|||
* should always check for the 'WP_UNINSTALLING_PLUGIN' constant, before
|
||||
* executing.
|
||||
*
|
||||
* @since 2.7
|
||||
*
|
||||
* @param string $file
|
||||
* @param callback $callback The callback to run when the hook is called.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue