[wp-trac] Re: [WordPress Trac] #6986: Plugin Automatic Update via FTP - SLL option will not deactivate once activated

WordPress Trac wp-trac at lists.automattic.com
Sun May 18 03:06:41 GMT 2008


#6986: Plugin Automatic Update via FTP - SLL option will not deactivate once
activated
----------------------------------------------+-----------------------------
 Reporter:  carltonbale                       |        Owner:  anonymous
     Type:  defect                            |       Status:  new      
 Priority:  normal                            |    Milestone:  2.5.2    
Component:  Administration                    |      Version:  2.5.1    
 Severity:  normal                            |   Resolution:           
 Keywords:  plugin automatic upgrade FTP SSL  |  
----------------------------------------------+-----------------------------
Comment (by DD32):

 This is due to a rather anoying thing with PHP:
 {{{
 $string = "0";
 var_dump( empty($string) ); = true
 }}
 A string with only a 0 is classified as an empty string.

 Attached patch sets it based on if the item was post'd along or not.

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


More information about the wp-trac mailing list