From f6df2c6921ed4c587c55c24e7e56e96d7ba11e6b Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 7 Apr 2014 20:13:15 +0000 Subject: [PATCH] Use the correct parameter variables in the hook docs for `wp_upgrade`. See #27700. Built from https://develop.svn.wordpress.org/trunk@27998 git-svn-id: http://core.svn.wordpress.org/trunk@27828 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/upgrade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/upgrade.php b/wp-admin/includes/upgrade.php index 66248981f1..4a853fed0b 100644 --- a/wp-admin/includes/upgrade.php +++ b/wp-admin/includes/upgrade.php @@ -332,8 +332,8 @@ function wp_upgrade() { * * @since 3.9.0 * - * @param int $new_db_version The new $wp_db_version. - * @param int $old_db_version The old $wp_db_version. + * @param int $wp_db_version The new $wp_db_version. + * @param int $wp_current_db_version The old (current) $wp_db_version. */ do_action( 'wp_upgrade', $wp_db_version, $wp_current_db_version ); }