Ticket #10045: 10045.diff
| File 10045.diff, 698 bytes (added by , 17 years ago) |
|---|
-
wp-includes/http.php
625 625 } 626 626 } 627 627 628 //fsockopen has issues with 'localhost' with IPv6 with certain versions of PHP, It attempts to connect to ::1, 629 // which fails when the server is not setup for it. For compatibility, always connect to the IPv4 address. 630 if ( 'localhost' == strtolower($fsockopen_host) ) 631 $fsockopen_host = '127.0.0.1'; 632 628 633 // There are issues with the HTTPS and SSL protocols that cause errors that can be safely 629 634 // ignored and should be ignored. 630 635 if ( true === $secure_transport )