=== Remukan Bulk Edit ===
Contributors: remukan
Donate link: https://remukan.com
Tags: woocommerce, bulk edit, product editor, stock manager, woocommerce bulk
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.8.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

High-performance, HPOS-compatible WooCommerce Bulk Product Editor with instant inline editing and safety Rollback system.

== DESCRIPTION ==

Managing thousands of WooCommerce products shouldn't crash your server or waste hours of your time. **Remukan Bulk Edit** is built for store owners and developers who need a lightweight, fast, and fail-safe bulk management tool.

Unlike traditional heavy plugins, Remukan Bulk Edit uses optimized REST API queries and clean background processing to ensure your server never experiences **504 Gateway Timeouts**.

### Key Features

* ** Excel-like Inline Editing:** Double-click any cell (Title, Price, Stock, SKU) and edit instantly without refreshing the page.
* **⏱ Time Machine (Rollback System):** Made a mistake? Revert any bulk edit operation or individual change with a single click.
* ** Variation Tree (Accordion Rows):** Easily view and edit variable products alongside their color, size, and custom variation attributes.
* ** Percentage & Fixed Price Adjustments:** Increase or decrease prices by % or fixed amounts accurately across hundreds of products.
* ** Inventory & Stock Management:** Toggle stock tracking on/off, set stock numbers, or add stock in bulk.
* ** HPOS Compatible:** Fully compliant with WooCommerce High-Performance Order Storage (HPOS).
* ** Fast Filters & Sorting:** Filter products by category, search by SKU/Title, or sort by Price, ID, and Date.

### Built for Safety & Speed
Remukan Bulk Edit automatically creates a snapshot before executing any bulk modifications. If something goes wrong, you can safely revert your store to its previous state.

== INSTALLATION ==

1. Log in to your WordPress admin panel.
2. Go to **Plugins > Add New**.
3. Search for **Remukan Bulk Edit** or upload the `remukan-bulk-edit.zip` file.
4. Click **Install Now** and activate the plugin.
5. Navigate to **WooCommerce > Toplu Düzenle** from your admin menu.

== FREQUENTLY ASKED QUESTIONS ==

= Will this plugin slow down my site or crash my server? =
No! Remukan Bulk Edit utilizes lightweight REST API endpoints and server-friendly batch processing to ensure smooth performance even on shared hosting servers.

= Does it support WooCommerce Variable Products? =
Yes, you can expand any variable product with a single click and edit child variations directly.

= What happens if I make a mistake while bulk editing? =
Simply click the **Geçmiş & Geri Al (Rollback)** button at the top right corner and click "↩ Geri Al" next to your recent action to restore the original data.

== SCREENSHOTS ==

1. Main product editing table with filters, search, and pagination.
2. Expandable variation tree for variable products.
3. One-click Rollback (Time Machine) history modal.

== CHANGELOG ==

= 1.8.1 =
* 🔒 Security & Standards Compliance: Resolved all strict validation notices flagged by the WordPress Plugin Check tool (escaped inline JavaScript nonces, unslashed request variables, and sanitized version outputs).
* 🌐 Internationalization (i18n): Added official translator comments to all localized strings containing placeholders for seamless translate.wordpress.org support.
* 🛡️ Database Hardening: Fully prepared dynamic database queries and enforced strict parameter types across history rollback operations.
* 🧹 Architecture Modernization: Removed deprecated `load_plugin_textdomain` calls and cleaned up domain path headers in compliance with modern WordPress Core standards.
* ✅ Directory Guidelines: Refined external upgrade links to route to the informational landing page.

= 1.8.0 =
* 🚀 Architecture Update: Introduced "Ghost Quota" Database Garbage Collector. Automatically limits history to the last 50 operations to prevent database bloat and ensure lightning-fast server performance.
* 🛡️ Rollback Engine Hardened: The Time Machine core can now natively detect and safely restore complex custom meta and ACF data.
* ✨ UI Polish: Completely overhauled the History & Rollback UI. Raw database slugs are now dynamically parsed into beautiful, human-readable labels.
* 🔒 PHP 8.1+ Security: Enhanced strict null-pointer checks on history parsing and string operations to prevent fatal errors on modern servers.
* ✅ Compliance & Links: Updated premium upgrade links to direct users to the official plugin landing page, fully complying with WordPress.org directory guidelines.

= 1.7.0 =
* 🚀 Core Optimization: Introduced an aggressive Cache-Busting architecture. Completely bypassed LiteSpeed and Object Cache layers on REST API endpoints. Your bulk edits (prices, stock) now reflect instantly on the table—no manual page refreshes needed!
* 🔧 Pricing Engine Fix: Resolved a critical logic flaw where updating regular prices wouldn't clear active `sale_price` values. Bulk price increases/decreases now accurately override any existing discounts.
* 🛡️ PHP 8.1+ Compatibility: Hardened the REST API controllers against strict null-pointer deprecation errors. The plugin is now fully bulletproof on the latest PHP versions.
* 🔒 Security Enhancement: Added strict capability checks (`manage_woocommerce`) to AJAX endpoints to prevent unauthorized requests by lower-tier users.

= 1.6.4 =
* Security: Added strict XSS sanitization (`escapeHTML`) to frontend product names to comply with WordPress.org security guidelines.
* Cleanup: Added `uninstall.php` to properly drop custom database tables (`rbe_history`, `rbe_history_items`) upon complete plugin deletion.
* Core: Removed remote API calls for promotional banners to strictly adhere to WordPress Plugin Guidelines (No Phoning Home).
* The website address has been updated.

= 1.6.3 =
* Minor stability and review standard updates.

= 1.6.1 =
* Fixed a logic bug where the Pro upsell banner would incorrectly display for active Pro users.
* Improved internationalization (i18n): History logs are now saved as raw slugs and translated dynamically based on the user's current WordPress language.
* Forced cache busting to ensure the latest JavaScript and translation assets load correctly.

= 1.6.0 =
* Added visual Progress Bar for bulk operations to provide sleek, real-time feedback during large updates.

= 1.5.0 =
* MAJOR UPDATE: Introduced "Anti-504" chunking architecture. Bulk edits now process in asynchronous batches (50 items/request) with a live progress bar.
* Added Advanced Meta Query filtering: Instantly filter products by Min/Max Price and Min/Max Stock levels.
* Added Psychological Pricing strategy: New bulk action to round prices to specific decimals (e.g., .99 or .90).
* Rollback System hardened: Snapshots now securely capture and restore `sale_price` and WooCommerce `stock_status`.

= 1.4.1 =
* Removed external third-party checkout scripts to comply with WordPress.org guidelines.
* Updated upgrade links to direct users to the official landing page securely.

= 1.3.1 =
* Added instant Rollback (Time Machine) state management.
* Improved AJAX notice dismissal for review requests.
* Fixed double calculation bugs on bulk percentage price increases.

= 1.2.0 =
* Introduced Database Rollback snapshots.
* Added server-side pagination, search, category filters, and sorting.

= 1.1.0 =
* Added variable product accordion sub-rows.
* Added Bulk Action Toolbar for percentage/fixed price and stock operations.

= 1.0.0 =
* Initial release. HPOS compatibility and inline editing REST API added.