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.
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
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.
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
Share Improve this question edited Apr 23, 2019 at 17:50 Darth Mikey D asked Apr 23, 2019 at 17:12 Darth Mikey DDarth Mikey D 931 silver badge9 bronze badges1 Answer
Reset to default 1WordPress 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:
- Deactivate and delete your plug-in from the site.
- Re-name the plug-in in the code / rename the plugin folder.
- Re-add your re-named plug-in to your site
This should circumvent any caching done by the update system.
Copied Resource Here
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745562365a4633182.html
评论列表(0条)