From 0f8d8597c3d5821e9280c585be36fc443e09cd4f Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 8 Aug 2008 04:15:03 +0000 Subject: [PATCH] Update since tags. Props santosj. fixes #5625 git-svn-id: http://svn.automattic.com/wordpress/trunk@8587 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/plugin.php | 4 +++- wp-includes/plugin.php | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/wp-admin/includes/plugin.php b/wp-admin/includes/plugin.php index 51e1bdb646..f18b3de17d 100644 --- a/wp-admin/includes/plugin.php +++ b/wp-admin/includes/plugin.php @@ -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) { diff --git a/wp-includes/plugin.php b/wp-includes/plugin.php index a2d2e27fd7..b3b5700d6d 100644 --- a/wp-includes/plugin.php +++ b/wp-includes/plugin.php @@ -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. */