-
Notifications
You must be signed in to change notification settings - Fork 413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
installed plugin on view details showing "install Now" instead "latest Version installed" #552
Comments
Are you saying that the "View details" link shows up even when your plugin is inactive? That would be unusual since the update checker obviously cannot add the "View details" link when it's not running. Is there something else that's adding the link? |
After some research, it looks like this happens when the plugin slug is different from the name of the plugin directory. As a test, I took a plugin hosted on worpdress.org - a plugin that doesn't use PUC - and renamed its directory from The WP core function that detects the plugin state is Since the same problem can happen with plugins not using PUC, perhaps it's not something to be fixed on this end? In most cases, if you pick a slug that matches the directory name, and the user doesn't rename the plugin for some reason, it should be fine. |
My mistake, you are right. It was the wrong slug. Thank you for the fast help and the great plugin! |
Hello, There is an issue with installed plugin. when i click open view detail and te plugin is installed, be button should be "latest verson installed" but am getting "install now button" mostly works but after plugin updates, yes the plugin is installed but on view details plugin have "install now"
attached will demonstrate what am trying to say.
The text was updated successfully, but these errors were encountered: