[wp-trac] [WordPress Trac] #6547: Bug in Wordpress updated plugins
check
WordPress Trac
wp-trac at lists.automattic.com
Wed Apr 2 13:55:16 GMT 2008
#6547: Bug in Wordpress updated plugins check
----------------------------+-----------------------------------------------
Reporter: freediver | Owner: anonymous
Type: defect | Status: new
Priority: high | Milestone: 2.5.1
Component: Administration | Version: 2.5
Severity: normal | Keywords:
----------------------------+-----------------------------------------------
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[[BR]]
.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.
--
Ticket URL: <http://trac.wordpress.org/ticket/6547>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list