Bug in Wordpress updated plugins check
|Reported by:||freediver||Owned by:||mdawaffe|
I have discovered a bug in wordpress plugin update checker.
The problem appears when the plugin name given in plugin.php file is a different to the one given in readme.txt file. The first one is used by wordpress client to check for updates against repository, and the second one is used to name the plugin by repository itself.
The bug will cause no updates to be shown although updated version exists.
Example can be seen on JP Admin StylishBlue plugin http://wordpress.org/extend/plugins/jp-admin-stylishblue/#post-5031
readme.txt and repository name: JP Admin StylishBlue
.php and plugin name: JP Custom Admin CSS - Stylish Blue
Solution is either to change the repository api to recognize plugin name sent by the client or to change client wp_update_plugins() (or get_plugins()) function to extract the name from readme.txt file.
Change History (6)
comment:5 @lloydbudd — 7 years ago
- Milestone changed from 2.5.2 to 2.6
- Owner changed from anonymous to mdawaffe