Addressed a reported bug from michidesign on the Help_bar regarding ineffective execution of the before hook.
The "delete_one()" method in "Standard_endpoints.php" was not sending an 'id' to delete in the passed '$input' array which was being checked in the "_make_sure_delete_allowed" method from the Category Builder module on the Module Market.
This fix:
Ensures proper handling of subcategories, preventing the deletion of a parent category when subcategories exist.
Resolves the issue of subcategories remaining in the table without appearing in categories/manage after deleting a main category.
Addressed a reported bug from michidesign on the Help_bar regarding ineffective execution of the before hook.
The "delete_one()" method in "Standard_endpoints.php" was not sending an 'id' to delete in the passed '$input' array which was being checked in the "_make_sure_delete_allowed" method from the Category Builder module on the Module Market.
This fix: