From cd75870267036188532dd214578c5a49152fbe42 Mon Sep 17 00:00:00 2001 From: Rodrigo Primo Date: Tue, 10 Mar 2020 09:27:30 -0300 Subject: [PATCH] Add the wc_update_400_ prefix to db update routine The db update routine that resets action scheduler migration status was missing the wc_update_400_ prefix. Doing this for the sake of consistency. --- includes/class-wc-install.php | 2 +- includes/wc-update-functions.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/class-wc-install.php b/includes/class-wc-install.php index f71f0369047..370610e08ca 100644 --- a/includes/class-wc-install.php +++ b/includes/class-wc-install.php @@ -146,7 +146,7 @@ class WC_Install { 'wc_update_product_lookup_tables', 'wc_update_400_increase_size_of_column', 'wc_update_400_db_version', - 'wc_reset_action_scheduler_migration_status', + 'wc_update_400_reset_action_scheduler_migration_status', ), ); diff --git a/includes/wc-update-functions.php b/includes/wc-update-functions.php index 299c3c114b1..ac02393eade 100644 --- a/includes/wc-update-functions.php +++ b/includes/wc-update-functions.php @@ -2095,7 +2095,7 @@ function wc_update_400_increase_size_of_column() { /** * Reset ActionScheduler migration status. Needs AS >= 3.0 shipped with WC >= 4.0. */ -function wc_reset_action_scheduler_migration_status() { +function wc_update_400_reset_action_scheduler_migration_status() { if ( class_exists( 'ActionScheduler_DataController' ) && method_exists( 'ActionScheduler_DataController', 'mark_migration_incomplete' )