Update since tags. Props santosj. fixes #5625
git-svn-id: https://develop.svn.wordpress.org/trunk@8587 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5fb79ce141
commit
4ea763f026
@ -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
Block a user