X-Git-Url: https://scripts.mit.edu/gitweb/autoinstallsdev/wordpress.git/blobdiff_plain/138998bbd8f7a1ac38b2f1eacbdf7cd522be4b13..refs/tags/wordpress-4.5.3-scripts:/wp-includes/class-wp-http-streams.php diff --git a/wp-includes/class-wp-http-streams.php b/wp-includes/class-wp-http-streams.php index d2fce4f4..80f30a43 100644 --- a/wp-includes/class-wp-http-streams.php +++ b/wp-includes/class-wp-http-streams.php @@ -377,13 +377,14 @@ class WP_Http_Streams { } /** - * Whether this class can be used for retrieving a URL. + * Determines whether this class can be used for retrieving a URL. * * @static * @access public * @since 2.7.0 * @since 3.7.0 Combined with the fsockopen transport and switched to stream_socket_client(). * + * @param array $args Optional. Array of request arguments. Default empty array. * @return bool False means this class can not be used, true means it can. */ public static function test( $args = array() ) {