[wp-trac] [WordPress Trac] #11393: class-ftp.php Using a PHP4 Return Value

WordPress Trac wp-trac at lists.automattic.com
Fri Dec 11 05:56:07 UTC 2009


#11393: class-ftp.php Using a PHP4 Return Value
--------------------------+-------------------------------------------------
 Reporter:  miqrogroove   |       Owner:     
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  2.9
Component:  General       |     Version:     
 Severity:  minor         |    Keywords:     
--------------------------+-------------------------------------------------
 http://core.trac.wordpress.org/browser/trunk/wp-admin/includes/class-
 ftp.php#L281

 {{{
 if(ip2long($ip) === -1) {
 }}}

 ip2long() never returns int(-1) in PHP5, except on 32-bit servers.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11393>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list