While trying to perform some problem determination, attempting to reproduce a problem someone had reported, I renamed a plugin’s folder so that I could search for and install the latest version of the plugin from wordpress.org.
My intention was to have both the existing and previous versions available on the install.
I was surprised, that rather than being offered Install Now for the correctly named folder, the renamed version was found and I was offered Activate.
Shouldn’t the plugin-install logic care more about the Plugin Name: in the plugin’s main file than the plugin folder name?
Had I chosen to rename my plugin to that of an existing plugin and then searched for that plugin I might have been offered Activate.
Attempting to perform Activate could lead to an unrecoverable fatal error.
When I say “could” I actually mean “did” in the scenario where I renamed my oik-privacy-policy folder to oik-css.
- You must be logged in to reply to this topic.