From ae1f6413c9426315fb0fc840a35ff2c149f1bd29 Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Mon, 27 Apr 2015 16:07:20 +0000 Subject: [PATCH] [32308] was for 4.3, not 4.2.1. git-svn-id: https://develop.svn.wordpress.org/trunk@32309 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/upgrade.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/wp-admin/includes/upgrade.php b/src/wp-admin/includes/upgrade.php index 9fd944a097..f5f4efedcb 100644 --- a/src/wp-admin/includes/upgrade.php +++ b/src/wp-admin/includes/upgrade.php @@ -528,7 +528,7 @@ function upgrade_all() { upgrade_420(); if ( $wp_current_db_version < 32308 ) - upgrade_421(); + upgrade_430(); maybe_disable_link_manager(); @@ -1439,11 +1439,11 @@ function upgrade_420() { } /** - * Execute changes made in WordPress 4.2.1. + * Execute changes made in WordPress 4.3.0. * - * @since 4.2.1 + * @since 4.3.0 */ -function upgrade_421() { +function upgrade_430() { global $wp_current_db_version, $wpdb; if ( $wp_current_db_version < 32308 ) { @@ -1460,7 +1460,7 @@ function upgrade_421() { ); foreach ( $comments as $comment ) { - wp_delete_comment( $comments->comment_ID ); + wp_delete_comment( $comment->comment_ID ); } } }