Skip to content

Releases: bigredseo/brs-block-fake-orders

v0.1.5.3 - Modular Refactor & Uninstall Settings

Choose a tag to compare

@bigredseo bigredseo released this 15 Oct 04:25

Overview

This release introduces a major internal refactor for better maintainability and adds a new opt-in uninstall cleanup option.

What's New

  • Split all major functionality into modular include files:
    • common/ for installation, logging, and helpers
    • core/ for validation and asset handling
    • integrations/ for REST, PayPal, and checkout hooks
    • admin/ for the log viewer and new settings page
  • Added uninstall.php for safe data cleanup.
  • Added new Settings page under WooCommerce → BRS Fake Orders Settings.
    • Option: “Delete data on uninstall” (drops DB table and removes options when enabled).
  • Implemented lightweight autoloader for BRS_BFO_* classes.
  • Improved bootstrap structure for clarity and easier debugging.

Behavior Notes

  • No change to blocking or validation logic.
  • Existing filters and actions remain fully compatible.
  • Files assets/js/brs-checkout-helper.js and includes/admin/log-viewer.php remain untouched.
  • Safe defaults: plugin preserves all logs unless uninstall cleanup is explicitly enabled.