Changeset 1926
- Timestamp:
- 12/09/2004 12:25:07 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r1921 r1926 818 818 $port = 80; 819 819 $timeout = 3; 820 $fp = fsockopen($host, $port, $err_num, $err_msg, $timeout);820 $fp = @fsockopen($host, $port, $err_num, $err_msg, $timeout); 821 821 if( $fp ) { 822 822 fputs($fp, $headers ); … … 946 946 947 947 // Try to connect to the server at $host 948 $fp = fsockopen($host, $port, $errno, $errstr, 3);948 $fp = @fsockopen($host, $port, $errno, $errstr, 2); 949 949 if (!$fp) { 950 950 // Couldn't open a connection to $host;
Note: See TracChangeset
for help on using the changeset viewer.