Changeset 3475388
- Timestamp:
- 03/05/2026 09:42:11 AM (3 days ago)
- Location:
- wp-ultimate-exporter
- Files:
-
- 32 added
- 4 edited
-
tags/2.23.1 (added)
-
tags/2.23.1/License.txt (added)
-
tags/2.23.1/Plugin.php (added)
-
tags/2.23.1/Readme.txt (added)
-
tags/2.23.1/SmackExporterInstall.php (added)
-
tags/2.23.1/exportExtensions (added)
-
tags/2.23.1/exportExtensions/CustomerReviewsExport.php (added)
-
tags/2.23.1/exportExtensions/EDDExport.php (added)
-
tags/2.23.1/exportExtensions/ElementorExport.php (added)
-
tags/2.23.1/exportExtensions/ExportExtension.php (added)
-
tags/2.23.1/exportExtensions/ExportHandler.php (added)
-
tags/2.23.1/exportExtensions/JetBookingExport.php (added)
-
tags/2.23.1/exportExtensions/JetCustomTableExport.php (added)
-
tags/2.23.1/exportExtensions/JetEngine.php (added)
-
tags/2.23.1/exportExtensions/JetReviewsExport.php (added)
-
tags/2.23.1/exportExtensions/LearnPress.php (added)
-
tags/2.23.1/exportExtensions/MetaBox.php (added)
-
tags/2.23.1/exportExtensions/PostExport.php (added)
-
tags/2.23.1/exportExtensions/SureCartExport.php (added)
-
tags/2.23.1/exportExtensions/WPQueryExport.php (added)
-
tags/2.23.1/exportExtensions/WooComExport.php (added)
-
tags/2.23.1/screenshot-1.png (added)
-
tags/2.23.1/screenshot-2.png (added)
-
tags/2.23.1/screenshot-3.png (added)
-
tags/2.23.1/screenshot-4.png (added)
-
tags/2.23.1/screenshot-5.png (added)
-
tags/2.23.1/screenshot-6.png (added)
-
tags/2.23.1/screenshot-7.png (added)
-
tags/2.23.1/screenshot-8.png (added)
-
tags/2.23.1/wp-exp-hooks.php (added)
-
tags/2.23.1/wp-ultimate-exporter.md (added)
-
tags/2.23.1/wp-ultimate-exporter.php (added)
-
trunk/Readme.txt (modified) (4 diffs)
-
trunk/exportExtensions/ExportExtension.php (modified) (1 diff)
-
trunk/exportExtensions/PostExport.php (modified) (1 diff)
-
trunk/wp-ultimate-exporter.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-ultimate-exporter/trunk/Readme.txt
r3463437 r3475388 6 6 Tested up to: 6.9 7 7 Requires PHP: 7.4 8 Stable tag: 2.23 9 Version: 2.23 8 Stable tag: 2.23.1 9 Version: 2.23.1 10 10 Author URI: https://www.smackcoders.com/wp-ultimate-csv-importer-pro.html 11 11 License: GPLv2 or later … … 21 21 **Important Note:** WP Ultimate Exporter is an add-on that requires the **[WP Ultimate CSV Importer](https://wordpress.org/plugins/wp-ultimate-csv-importer/)** to function. 22 22 With this plugin, you can export all your WordPress content—including posts, pages, custom fields, users, and WooCommerce data—ensuring secure backups and effortless migrations. 23 24 = What’s New in WP Ultimate Exporter 2.23 =25 26 Version 2.23 introduces SureCart export support in WP Ultimate Exporter. SureCart users can now export Products, Coupons, and Customers directly to CSV, XML, Excel, or other supported files from within WordPress. This makes it easier for store owners or managers to move data between sites, maintain backups, or work with bulk edits whenever needed.27 23 28 24 **Top Features & Benefits** … … 421 417 == Changelog == 422 418 419 = 2.23.1 = 420 * Added: Compatibility with WooCommerce High-Performance Order Storage (HPOS) to ensure the plugin works correctly when HPOS is enabled. 421 423 422 = 2.23 = 424 423 * Added: SureCart export support for Products, Coupons, and Customers. … … 887 886 == Upgrade Notice == 888 887 889 = 2.23 = 890 891 This update adds SureCart export support. You can now export SureCart Products, Coupons, and Customers using CSV, Excel, or XML files directly from WordPress. 892 893 894 895 896 897 898 899 900 888 = 2.23.1 = 889 890 Upgrade to version 2.23.1 to ensure compatibility with WooCommerce High-Performance Order Storage (HPOS). 891 892 893 894 895 896 -
wp-ultimate-exporter/trunk/exportExtensions/ExportExtension.php
r3463437 r3475388 408 408 409 409 } elseif ($module == 'shop_order') { 410 if (is_plugin_active('polylang/polylang.php') || is_plugin_active('polylang-pro/polylang.php') || is_plugin_active('polylang-wc/polylang-wc.php')) { 411 $order_statuses = array('wc-completed', 'wc-cancelled', 'wc-on-hold', 'wc-processing', 'wc-pending'); 412 $orders_id = wc_get_orders(array('status' => $order_statuses, 'limit' => -1)); 413 $get_post_ids = array(); 414 foreach ($orders_id as $my_orders) { 415 $get_post_ids[] = $my_orders->get_id(); 416 } 417 foreach ($get_post_ids as $ids) { 418 $module = $wpdb->get_var("SELECT post_type FROM {$wpdb->prefix}posts where id=$ids"); 419 } 420 if ($module == 'shop_order_placehold') { 421 $orders = "select DISTINCT p.ID from {$wpdb->prefix}posts as p inner join {$wpdb->prefix}wc_orders as wc ON p.ID=wc.id"; 422 $orders .= " where p.post_type = '$module'"; 423 $orders .= "and wc.status in ('wc-completed', 'wc-cancelled', 'wc-on-hold', 'wc-processing', 'wc-pending')"; 424 $orders = $wpdb->get_col($orders); 425 } else { 426 $orders = "select DISTINCT ID from {$wpdb->prefix}posts"; 427 $orders .= " where post_type = '$module'"; 428 $orders .= "and post_status in ('wc-completed','wc-cancelled','wc-on-hold','wc-processing','wc-pending')"; 429 $orders = $wpdb->get_col($orders); 430 } 431 432 } else { 433 $order_statuses = array('wc-completed', 'wc-cancelled', 'wc-on-hold', 'wc-processing', 'wc-pending'); 434 $orders = wc_get_orders(array('status' => $order_statuses, 'limit' => -1)); 435 } 436 $total = count($orders); 437 return $total; 410 $order_statuses = array('wc-completed','wc-cancelled','wc-on-hold','wc-processing','wc-pending','wc-refunded','wc-failed','wc-checkout-draft'); 411 $args = [ 412 'return' => 'ids', 413 'limit' => -1, 414 'status' => $order_statuses 415 ]; 416 $orders = wc_get_orders($args); 417 $response = count($orders); 418 update_option('woocommerce_order_count', $response); 419 echo wp_json_encode($response); 420 wp_die(); 438 421 439 422 } elseif ($module == 'product_variation') { -
wp-ultimate-exporter/trunk/exportExtensions/PostExport.php
r3463437 r3475388 376 376 } 377 377 } elseif ($module == 'shop_order' && is_plugin_active('woocommerce/woocommerce.php')) { 378 379 if (!empty($conditions['specific_period']['is_check'])) { 380 $args = [ 381 'return' => 'ids', 382 'limit' => $limit, 383 'offset' => $offset, 384 'orderby' => 'date', 385 'order' => 'DESC', 386 ]; 387 388 if (!empty($conditions['specific_period']['is_check']) &&!empty($conditions['specific_period']['from']) &&!empty($conditions['specific_period']['to'])) { 389 $args['date_query'] = [[ 390 'after' => $conditions['specific_period']['from'], 391 'before' => $conditions['specific_period']['to'], 392 'inclusive' => true, 393 ]]; 394 } 395 396 $order_ids = wc_get_orders($args); 397 $count_args = $args; 398 $count_args['limit'] = -1; 399 $count_args['offset'] = 0; 400 401 self::$export_instance->totalRowCount = count(wc_get_orders($count_args)); 402 403 return $order_ids; 404 } 378 405 if ($sitepress == null && !is_plugin_active('polylang/polylang.php') && !is_plugin_active('polylang-pro/polylang.php') && !is_plugin_active('polylang-wc/polylang-wc.php') && !is_plugin_active('woocommerce-multilingual/wpml-woocommerce.php')) { 379 406 if (!empty($conditions['specific_period']['is_check']) && $conditions['specific_period']['is_check'] == 'true') { //Specific period ONLY TRUE -
wp-ultimate-exporter/trunk/wp-ultimate-exporter.php
r3463437 r3475388 11 11 * @wordpress-plugin 12 12 * Plugin Name: WP Ultimate Exporter 13 * Version: 2.23 13 * Version: 2.23.1 14 14 * Plugin URI: https://www.smackcoders.com/ultimate-exporter.html 15 15 * Description: Backup tool to export all your WordPress data as CSV file. eCommerce data of WooCommerce, eCommerce, Custom Post and Custom field information along with default WordPress modules. … … 40 40 41 41 define('IMPORTER_VERSION', '7.39'); 42 define('EXPORTER_VERSION', '2.23 ');42 define('EXPORTER_VERSION', '2.23.1'); 43 43 require_once('Plugin.php'); 44 44 require_once('SmackExporterInstall.php');
Note: See TracChangeset
for help on using the changeset viewer.