Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Wordpress plugin installed twice

Tags:

php

wordpress

I'm developing WP plugin for my website. When I upload plugin to WP I see 2 instances installed.

enter image description here

Why is this?

like image 376
Vnuuk Avatar asked Nov 16 '16 09:11

Vnuuk


2 Answers

Check your plugin directory.

Path: wp-content-->plugins

There is a may be two same plugin directory or same name. Check and change plugin name is same or not? (In your plugin development main files.)

/* 
Plugin Name: Your plugin name
*/

If plugin name is same the change name different and save it.

like image 50
Chetan Avatar answered Oct 22 '22 17:10

Chetan


This happened to me recently. I saw the same plugin listed twice in the installed plugins section.

Upon investigating, I noiticed that a while back I had made a duplicate copy of the main plugin file. So the file was "copy of plugin_name.php" in the same directory as the main plugin_name.php. I deleted the copy file and the duplicate entry was gone.

like image 28
Nilesh Avatar answered Oct 22 '22 17:10

Nilesh