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:
ryan 2008-08-08 04:15:03 +00:00
parent d352f78b94
commit 0f8d8597c3
2 changed files with 5 additions and 1 deletions

View File

@ -343,7 +343,7 @@ function validate_plugin($plugin) {
/** /**
* Whether the plugin can be uninstalled. * Whether the plugin can be uninstalled.
* *
* @since {@internal Version Unknown}} * @since 2.7
* *
* @param string $plugin Plugin path to check. * @param string $plugin Plugin path to check.
* @return bool Whether plugin can be uninstalled. * @return bool Whether plugin can be uninstalled.
@ -363,6 +363,8 @@ function is_uninstallable_plugin($plugin) {
* *
* Calls the uninstall hook, if it is available. * Calls the uninstall hook, if it is available.
* *
* @since 2.7
*
* @param string $plugin Relative plugin path from Plugin Directory. * @param string $plugin Relative plugin path from Plugin Directory.
*/ */
function uninstall_plugin($plugin) { function uninstall_plugin($plugin) {

View File

@ -528,6 +528,8 @@ function register_deactivation_hook($file, $function) {
* should always check for the 'WP_UNINSTALLING_PLUGIN' constant, before * should always check for the 'WP_UNINSTALLING_PLUGIN' constant, before
* executing. * executing.
* *
* @since 2.7
*
* @param string $file * @param string $file
* @param callback $callback The callback to run when the hook is called. * @param callback $callback The callback to run when the hook is called.
*/ */