7

My custom made plugin has "a new version available", also the "view details" link links to a completely unrelated plugin.

The plugin files begins with:

<?php
/*
Plugin Name: Simple Contact Form 
Plugin URI: http://www.wilcoverhoeven.com
Description: Simple contact form
Version: 1
Author: Wilco Verhoeven
Author URI: http://www.wilcoverhoeven.com
*/

How can I prevent this?

13

I think you've got a naming conflict there -- assuming that your plugin is linking to this Simple Contact Form -- try changing the name to something like "Wilco's Simple Contact Form".

You'll need to update the plugin folder name and the main plugin file name as well.

Update

As Aniket points out, you might need to force an update check on your site to get rid of the notice. You can do this by going to http://yourwebsite.com/wp-admin/update-core.php?force-c‌​heck=1

  • Changing both the name of the folder and the php file worked. – projectIncomplete Oct 4 '16 at 13:25
  • Awesome; I'm updating my answer to reflect this :) – FaCE Oct 4 '16 at 14:00
  • You don't need to update the folder name if you renamed your plugin followed by force check update. – Aniket Sahrawat Oct 4 '16 at 15:16
  • 1
    @Aniket It's probably safer to rename your plugin folder name, or at least check that it doesn't conflict with the name of another plugin – FaCE Oct 4 '16 at 16:08
  • @Aniket, how can I force an update check? – projectIncomplete Oct 5 '16 at 9:21
6

As i can see you have named your custom form as 'Simple Contact Form' which conflicts with this plugin name Simple Contact Form. Try changing the name.
Edit1: You can also change the version if you don't want to change the name of the plugin. For eg: if you are prompted something like

There is a new version of Simple Contact Form. View version 14.13 details or update now.

then just rename the version of your plugin to 14.13 or above

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.