Changeset 45611 for trunk/src/wp-includes/class-wp-http-streams.php
- Timestamp:
- 07/09/2019 05:44:42 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-http-streams.php
r45590 r45611 141 141 142 142 if ( $proxy->is_enabled() && $proxy->send_through_proxy( $url ) ) { 143 // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged 143 144 $handle = @stream_socket_client( 'tcp://' . $proxy->host() . ':' . $proxy->port(), $connection_error, $connection_error_str, $connect_timeout, STREAM_CLIENT_CONNECT, $context ); 144 145 } else { 146 // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged 145 147 $handle = @stream_socket_client( $connect_host . ':' . $arrURL['port'], $connection_error, $connection_error_str, $connect_timeout, STREAM_CLIENT_CONNECT, $context ); 146 148 }
Note: See TracChangeset
for help on using the changeset viewer.