Skip to content

v1.12.0

Choose a tag to compare

@alessandromasone alessandromasone released this 10 Aug 10:52
· 2 commits to main since this release
Add on-demand plugin ZIP download (v1.12.0)

Adds an admin_post action (sed_build_plugin_zip) and SED_Admin::build_plugin_zip() to generate and stream an installable plugin ZIP on demand. The zip contains a root folder (static-export-deploy/) and excludes development/VCS files (e.g. .git, .github, node_modules, vendor, .vscode, .idea, .gitignore, .gitattributes, .DS_Store, other .zip files). The handler checks manage_options capability, nonce and ZipArchive availability. Also adds a dashboard button to trigger the download and updates plugin version/readme to 1.12.0 with a changelog entry.