Skip to content

Releases: theantiheroSE/unbatcher

v1.0.0 — Initial release

Choose a tag to compare

@theantiheroSE theantiheroSE released this 28 Jul 11:55

First stable release of Loopia REST Unbatcher.

What it does

Splits WordPress /batch/v1 REST calls into individual requests in the
browser via wp.apiFetch middleware. Built for sites on hosts (notably
Loopia) that block the batch endpoint at the web server level — the
block editor and customizer start working again with zero server config.

Features

  • 🪶 Pure client-side — no server changes, no htaccess edits
  • 🔁 Works as a regular plugin or must-use plugin (auto-detected)
  • ⚡ Concurrency-capped parallel execution (default 8 sub-requests at a time)
  • 🛡️ Recursion-safe, GET-safe, nonce-safe
  • 🎚️ Filterable loopia_unbatcher_max_items and loopia_unbatcher_concurrency
  • 🐛 URL-triggered debug: append ?loopia_debug=1 to any admin URL
  • 🔒 Double-load guard so the plugin can be staged in both /plugins/ and /mu-plugins/ without fatal errors

Install

As a must-use plugin (recommended for production)

cd wp-content/mu-plugins
git clone https://github.com/theantiheroSE/unbatcher.git

As a regular plugin

cd wp-content/plugins
git clone https://github.com/theantiheroSE/unbatcher.git

Then activate under Plugins.

Verify

After install, hit any admin URL with ?loopia_debug=1 appended. You
should see a notice listing the detected mode, paths, and a ← TARGET
marker next to unbatcher/unbatcher.php in the mu-plugin list.

Compatibility

  • WordPress 5.6+
  • PHP 7.2+
  • Single-site and multisite

License

GPL-2.0-or-later.