diff --git a/wp-admin/includes/plugin.php b/wp-admin/includes/plugin.php index 51e1bdb64..f18b3de17 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 a2d2e27fd..b3b5700d6 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. */