1

I am having issues when I view my installed plugin page, it's telling me there is a new version available. If I click the view version or view details links, it shows a completely different plugin that someone else put on wordpress.org.

I've tried changing the plugin name and uri, and everything should be unique so not sure why this is happening.

Has anyone had this happen or know how to fix it?

Thanks in advance

1

WordPress retrieves the plug-in name from the comment block header in the main plug-in file (using the function get_plugin_data defined in /wp-admin/includes/plugin.php).

The thing is, it doesn't look for updates every time you visit the page - it schedules a cron job that fires every few hours to ease load on the servers running the repository. So after it finds an update for a plug-in, it will cache that find.

My recommendation:

  1. Deactivate and delete your plug-in from the site.
  2. Re-name the plug-in in the code / rename the plugin folder.
  3. Re-add your re-named plug-in to your site

This should circumvent any caching done by the update system.

Copied Resource Here

  • 1
    That fixed it. I renamed everything except for the folder name, and was still having the issue. I renamed the folder and it no longer points to the other plugin. Thanks for the help. – Darth Mikey D Apr 23 at 17:30
  • 1
    Just to make it clear and precise - WP checks for updates based on slug (like: plugin-folder/main-plugin-file.php), not plugin name. – Krzysiek Dróżdż Apr 23 at 18:11

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.