Skip to content

WapPress v0.2.1

Latest

Choose a tag to compare

@lukmanbagus lukmanbagus released this 27 Nov 13:51
· 2 commits to main since this release

Fixed

  • Default Theme 404 Page & Not Found Redirect Routing on Cloudflare Workers: Always attaches the ASSETS binding to the deployed Worker script (even when Static Forms is disabled) and passes WAPPRESS_NOT_FOUND_TYPE / WAPPRESS_NOT_FOUND_TARGET bindings so Not Found Redirect (404.html theme page, Home page, and Specific page) works reliably on Cloudflare Workers Static Assets without relying on _redirects.
  • Worker 404 Handling: Updated the Worker script to inspect assetRes.status === 404 and serve the theme's /404.html (HTTP 404), /index.html, or custom target page for HTML navigation requests while preserving plain HTTP 404 responses for missing static assets (.js, .css, images, fonts).
  • Reliable Theme 404 Template Export: Improved export_404_html() to request a guaranteed non-existent path first (with query-string fallbacks) and verify an HTTP 404 HTML response instead of relying solely on /?p=-1.

Installation / Update

  • Existing installations on v0.1.3+ can update directly from WordPress Admin → Plugins → Check for updates.
  • For manual installation, download wappress-0.2.1.zip below and upload via Plugins → Add New → Upload Plugin.