-
released this
2026-04-11 00:55:05 +02:00 | 3 commits to main since this release💡 This release focuses on fixing hierarchy-related bugs across rendering, import/export, and admin ordering, ensuring subcategories and direct products behave correctly in all contexts.
🐛 Bug Fixes
- Root categories with both direct products and subcategories now correctly render direct products.
- Direct products are automatically hidden/shown when a subcategory filter is active.
- JSON import now uses a two-pass category insertion (insert all with
parent_id=0, then resolveparent_slug→ real DB IDs), fixing broken parent remapping across environments. - Export now includes a
parent_slugfield per category for reliable cross-site imports. - Replaced
wp_check_filetype_and_ext()withpathinfo()for JSON file validation, fixing false rejections on some server configurations. - Added missing
require_once class-settings.phpinrender_menu_block(), fixing a potential fatal error when the Gutenberg block renders without the Settings class loaded.
✨ Improvements
- Category up/down reordering is now hierarchy-aware — moving a category also moves all its descendants as a group.
- New AJAX endpoint
lrob_update_category_hierarchyreplaceslrob_update_positions, saving positions and parent IDs in a single call. - Event handlers for category move buttons switched to delegated events (
$(document).on()), improving reliability with dynamically added elements.
🧹 Code Cleanup
- Indentation and alignment normalization across all modified files.
- No breaking changes — full backward compatibility maintained.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads