• Hi there. I have a plugin that I’m developing and my problem is that when I remove and reinstall the plugin through the backend, WordPress uploads the plugin zip with a new name (MyPlugin1.zip, MyPlugin2.zip, etc.) into the /uploads directory every reinstall, leaving behind a chain of zip files from each reinstall.

    As a result, the plugin’s directory also inherits the zip file’s name, which causes some problems with the paths I’ve coded (expecting the plugin to be under MyPlugin and not MyPlugin1 or MyPlugin2). I haven’t had this problem reinstalling other plugins, just my own. I know I can clear all the zip files out of the /uploads folder then reinstall again, but what’s the proper fix to make this work correctly for other users who may not have/know FTP access?

  • The topic ‘Plugin reinstall problem – makes new directory MyPlugin1 MyPlugin2 etc’ is closed to new replies.