Custom wordpress plugin shows update for new blank plugin

Does anyone know how to fix this issue when building custom wordpress plugins?

The file directory is plugins/twitter/autoload.php with the autoload.php containing the following items:

 * Plugin Name: Twitter
 * Description: Showcase Twitter feed using Gutenberg Blocks.
 * Version: 1.0.0
 * Author: Test

Does anyone know why my custom plugin with nothing inside of it yet is showing that it needs an update? When I update the plugin, it grabs files from some other twitter plugin and overwrites all of my files.

enter image description here

Is there a naming issue? Can two plugins not have the same name? This was’t an issue when I was building an Instagram plugin.

>Solution :

WordPress updates pull from the WordPress plugin repo and this means it matches and existing one. You need to rename the folder to avoid this.

You can also click on the View version details to see what it is matching against.

Leave a Reply