芝麻web文件管理V1.00
编辑当前文件:/home/felaukpo/public_html/wp-content/plugins/cartflows-pro/classes/class-cartflows-pro-update.php
$api_key, 'wc_am_client_cartflows' => $api_key_data, ) ); delete_option( 'wc_am_client_CartFlows_api_key' ); delete_option( 'wc_am_client_CartFlows' ); // Delete the cached value for old user ( before v1.11.0 and after v1.11.0 ) so WP can add new value. wp_cache_flush(); if ( $api_key_data ) { $new_data = array( 'wc_am_client_cartflows_api_key' => isset( $api_key_data['wc_am_client_CartFlows_api_key'] ) ? $api_key_data['wc_am_client_CartFlows_api_key'] : $api_key_data['wc_am_client_cartflows_api_key'], ); update_option( 'wc_am_client_cartflows', $new_data ); } if ( $api_key ) { update_option( 'wc_am_client_cartflows_api_key', $api_key ); } } if ( version_compare( $saved_version, '1.11.7', '<' ) ) { update_option( 'wcf_show_flow_analytics_notice', 'yes' ); } // Update auto saved version number. update_option( 'cartflows-pro-version', CARTFLOWS_PRO_VER ); do_action( 'cartflows_pro_update_after' ); } /** * Offer orders option. * * @since 1.5.5 * @return void */ public static function v_1_5_5() { /* Backward compatible option */ $old_data = array( 'separate_offer_orders' => 'merge', ); Cartflows_Helper::update_admin_settings_option( '_cartflows_offer_global_settings', $old_data, false ); } } /** * Kicking this off by calling 'get_instance()' method */ Cartflows_Pro_Update::get_instance(); endif;