PluginProbe
SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments / 2.25.2
SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments v2.25.2
4.7.2 4.7.1 4.7.0 4.6.6 4.6.5 4.6.4 4.6.3 4.6.2 4.6.1 4.6.0 4.5.1 4.5.0 4.4.2 4.4.1 4.4.0 4.3.3 4.3.2 4.3.1 4.3.0 4.2.3 4.2.2 4.2.1 1.0.3 1.0.4 1.0.5 All 281 releases
← All changes | app/src/Database/UpdateMigrationServiceProvider.php +0 -18 4.5.02.25.2 View file →
@@ -41,26 +41,8 @@
41 41 // make sure to check for and create cart post on every update.
42 42 \SureCart::page_seeder()->createShopPage();
43 43 // make sure to check for and create cart post on every update.
44 44 $this->handleCartMigration();
45 - // handle order bump design migration.
46 - $this->handleOrderBumpDesignMigration();
47 - }
48 -
49 - /**
50 - * Set classic order bump design for existing installs.
51 - *
52 - * Fresh installs have migration_version = '0.0.0' at this point because
53 - * updateMigrationVersion() runs at priority 9999999, after this.
54 - * add_option() is a no-op if the option already exists (idempotent).
55 - *
56 - * @return void
57 - */
58 - public function handleOrderBumpDesignMigration() {
59 - $previous_version = get_option( 'surecart_migration_version', '0.0.0' );
60 - if ( '0.0.0' !== $previous_version ) {
61 - add_option( 'surecart_order_bump_design', 'classic' );
62 - }
63 45 }
64 46
65 47 /**
66 48 * Update the migration version.