PATH:
home
/
letacommog
/
laindinois
/
wp-content
/
plugins
/
dokan-lite
/
includes
/
Upgrade
/
Upgrades
<?php namespace WeDevs\Dokan\Upgrade\Upgrades; use WeDevs\Dokan\Abstracts\DokanUpgrader; use WeDevs\Dokan\Upgrade\Upgrades\BackgroundProcesses\V_2_9_4_OrderPostAuthor; class V_2_9_4 extends DokanUpgrader { /** * Update post_author id for shop_orders * * @since 2.9.4 * * @return void */ public static function update_shop_order_post_author() { $processor = new V_2_9_4_OrderPostAuthor(); $args = [ 'updating' => 'shop_order_post_author', 'paged' => 0 ]; $processor->push_to_queue( $args )->dispatch_process(); } /** * Update refund table structure * * @return void */ public static function update_refund_table() { global $wpdb; $table_name = $wpdb->prefix . 'dokan_refund'; if ( $wpdb->get_var( $wpdb->prepare( "SHOW TABLES LIKE %s", $table_name ) ) !== $table_name ) { return; } $columns = [ 'item_qtys', 'item_totals', 'item_tax_totals' ]; foreach ( $columns as $column ) { $wpdb->query( "ALTER TABLE `{$wpdb->prefix}dokan_refund` MODIFY COLUMN `{$column}` varchar(200)" ); } } }
[+]
..
[-] V_2_8_6.php
[edit]
[-] V_2_4_12.php
[edit]
[-] V_2_6_9.php
[edit]
[-] V_2_3.php
[edit]
[-] V_2_8_0.php
[edit]
[-] V_2_9_13.php
[edit]
[-] V_2_7_6.php
[edit]
[+]
BackgroundProcesses
[-] V_1_2.php
[edit]
[-] V_2_5_7.php
[edit]
[-] V_2_9_4.php
[edit]
[-] V_2_8_3.php
[edit]
[-] V_2_9_19.php
[edit]
[-] V_2_7_3.php
[edit]
[-] V_2_9_16.php
[edit]
[-] V_2_1.php
[edit]
[-] V_2_4_11.php
[edit]
[-] V_2_9_23.php
[edit]