1

I've seen numerous questions asking a way to update a private plugin by checking to self-hosted repository, or update plugin from personal API, but my question is quite different.

As we all know, if a plugin (by a given name) already exists in the wp-content/plugins directory, then WordPress won't overwrite it. Instead it shows the "Destination folder already exists." error (and plugin install failed).

I'm just asking, if anyone can point me out what to deal (or telling me if it's not possible) to let my WordPress site automatically upgrade/overwrite an existing plugin through the upload-plugin page.

Update (Sept, 10th):

Is there any specific function/action that I should implement in my private plugin so when I try to upload (let say) a newer version of that plugin, my WordPress site would handle the deactivation-deletion steps and later install the newly uploaded plugin package?

  • Do you have a specific problem or do you want a general information? Please see How to Ask and file an edit. – kaiser Sep 9 '14 at 10:19
  • @kaiser thanks for your response, so I did what you suggest, and try my best to specify what I need. – Nich Sep 9 '14 at 18:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.