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

WordPress Trac wp-trac at lists.automattic.com
Fri Dec 11 17:19:21 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:  has-patch
--------------------------+-------------------------------------------------

Comment(by miqrogroove):

 Just for reference, Akismet is using
 {{{
 if ( $ip && long2ip(ip2long($ip)) ) {
 }}}
 Checking FALSE is much easier to read, so nacin's patch has my vote.

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


More information about the wp-trac mailing list