[wp-trac] Re: [WordPress Trac] #5115: WordPress updates don't work for plugins with spaces in their name

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 30 12:48:04 GMT 2007


#5115: WordPress updates don't work for plugins with spaces in their name
-----------------------------+----------------------------------------------
 Reporter:  Quandary         |        Owner:  anonymous
     Type:  defect           |       Status:  new      
 Priority:  highest omg bbq  |    Milestone:  2.3.1    
Component:  General          |      Version:  2.3      
 Severity:  normal           |   Resolution:           
 Keywords:                   |  
-----------------------------+----------------------------------------------
Comment (by Quandary):

 Thanks -- that was ''exactly'' the information I needed. :D

 Turns out that the check is performed against the very first header title
 in the readme.txt. This is not intuitive at all -- at best it should be
 documented, and at worst it's a bug. I would expect that the plugin's
 metadata name would be compared to the metadata name in the DB, not to
 some other value.

 Also, if someone changes the name of their plugin, even slightly, it might
 break things. We might want to key off of something more robust (like the
 repo path, with a separate metadata indicator).

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5115#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list