[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:27:10 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 nacin):

 Yea, I was going to reference Akismet's use of long2ip & ip2long together.
 I'm pretty sure that's to correct to whether an IP is valid, not to check
 whether it is valid, if that makes sense, though I suppose both would work
 here.

 Both examples appear in the PHP docs: http://php.net/ip2long.

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


More information about the wp-trac mailing list