WP Manifestindependent plugin directory
manifest / developer / ars-nova-installer-fix

Ars Nova Installer Fix

Renames a plugin's extracted folder to match its own main file during install, so GitHub source zips install and update correctly instead of creating duplicates. v1.0.0.

★ 0stars
3release downloads
v1.1.0latest · 2mo ago

Install

Download ars-nova-installer-fix-1.1.0.zip From the v1.1.0 release on GitHub, Aug 15, 2026

Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/arsnovasingers/ars-nova-installer-fix/releases/download/v1.1.0/ars-nova-installer-fix-1.1.0.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Renames a plugin's extracted folder during install to match the plugin's own main file.

The problem

GitHub source archives always extract to <repo>-<ref> — ars-nova-core-main/, ars-nova-core-e11b366/. WordPress names the installed plugin folder after that directory, so installing from a plain GitHub URL creates a second plugin instead of updating the existing one. overwrite_package never matches, because WordPress sees a different plugin.

Observed on staging 2026-08-13: HTTP 500 from the installer, two copies of Ars Nova Core, the old one still active.

The rule

If the extracted directory contains exactly one top-level .php file with a Plugin Name: header, rename the directory to match that file.

Zero candidates or several means no guessing — the source is returned untouched. Same if the name already matches, or if the move fails.

Verified

Live and staging, 2026-08-13. The same URL install that previously returned HTTP 500 and created ars-nova-core-main/ now reports:

Downloading installation package from https://github.com/.../main.zip…
Unpacking the package…
Installing the plugin…
Removing the current plugin…
Plugin installed successfully.

One folder, updated in place.

Effect

wp_install_plugin(
  url: "https://github.com/ArsNovaSingers/<repo>/archive/refs/heads/main.zip",
  overwrite: true
)

updates the plugin correctly, from any branch or commit — no release ceremony, no hand-built zips. Manual wp-admin uploads of GitHub zips are fixed too.

Notes

  • Applies to plugin installs/updates only (Plugin_Upgrader); themes and core are untouched.
  • Fails safe: any ambiguity, or a failed move, leaves WordPress behaving exactly as before.
  • Removable at any time with no residue.
  • Must be installed by hand once per environment — it is the plugin that fixes installing.

Releases

1 release. Each count is every asset in that release; expand a row for the breakdown.

Tag
Published
Assets
Downloads
v1.1.0 latest
Aug 15, 2026 2mo ago
ars-nova-installer-fix-1.1.0.zip
3