WordPress plugin changes install directory when deleted and reinstalled

Embarrising enough, I created this particular plugin. Works great, but in testing, this happens:
1. Install plugin via WP Dashboard zip installer.
1a. Works great; fully functional.
2. Deactivate & delete files via WP Dashboard.
3. Reinstall plugin (#1 above).
– Issue: In the theme’s plugin folder, a sequential number is appended to the plugin’s folder, e.g. “my-plugin” becomes “my-plugin1”

This is a very light weight plugin, only loads a form, script, CSS file, shortcodel. – no SQL tables, no user settings, etc.

Read More

Any ideas? I’ve never repeatedly installed, removed, then reinstalled a plugin, so this is a new thing for me.

Thanks!

Related posts

Leave a Reply