|
|
@@ -1,6 +1,6 @@
|
|
|
# QDR - Studiou WC Export/Import Product Categories
|
|
|
|
|
|
-**Version: 1.5**
|
|
|
+**Version: 1.5.1**
|
|
|
|
|
|
A WordPress plugin that extends WooCommerce to provide batch export and import functionality for both product categories and products, along with category manipulation tools.
|
|
|
|
|
|
@@ -300,6 +300,16 @@ For support, please visit [https://www.quadarax.com/plugins/studiou-wc-product-c
|
|
|
|
|
|
## Changelog
|
|
|
|
|
|
+### Version 1.5.1
|
|
|
+- Fix: Clear Media Categories JS event handler not binding due to browser-cached old JS
|
|
|
+- Fix: Auto-detect any custom taxonomy registered for attachments (no longer limited to 3 hardcoded names)
|
|
|
+- Fix: Use spread operator for `$wpdb->prepare()` args for WP 6.8+ compatibility
|
|
|
+- Fix: Add `return` after `wp_send_json_error()` calls to prevent execution leak
|
|
|
+- Fix: Force `wp_update_term_count_now()` after batch deletion to refresh category counts
|
|
|
+- Improved JS initialization: each form init wrapped in try-catch (`safeInit`) so one error cannot block others
|
|
|
+- Always-on error logging for media operations (prefix: `STUDIOU WC MEDIA:`)
|
|
|
+- Added `onsubmit="return false;"` fallback on clear media form
|
|
|
+
|
|
|
### Version 1.5.0
|
|
|
- **NEW: Clear Media Categories** - permanently delete all media files from selected media categories
|
|
|
- Checkbox list of media categories with file count per category
|
|
|
@@ -309,12 +319,11 @@ For support, please visit [https://www.quadarax.com/plugins/studiou-wc-product-c
|
|
|
- Batch processing for large-scale deletions (processes 10 media files at a time)
|
|
|
- Comprehensive deletion statistics and error reporting
|
|
|
- Enhanced warning messages for destructive operations
|
|
|
- - Auto-detection of media category taxonomy (supports media_category, attachment_category, media-category)
|
|
|
+ - Auto-detection of media category taxonomy for attachments
|
|
|
- Graceful fallback message when no media category plugin is installed
|
|
|
- 2 new AJAX handlers: `studiou_wcpcm_clear_media`, `studiou_wcpcm_clear_media_batch`
|
|
|
- Updated Category Manipulations page with new Clear Media Categories section
|
|
|
- Added Important Notes entry for the new feature
|
|
|
-- Version bumped to 1.5.0
|
|
|
|
|
|
### Version 1.4.0
|
|
|
- **NEW: Product Import** - Batch import variable products and variations from CSV
|