WP_HTTP: Correct the @since, and, @deprecated PHPDoc tags to reflect the class history. See #25007
Built from https://develop.svn.wordpress.org/trunk@25309 git-svn-id: http://core.svn.wordpress.org/trunk@25271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
068df26686
commit
3514c7d1c4
|
@ -666,7 +666,9 @@ class WP_Http {
|
||||||
*
|
*
|
||||||
* @package WordPress
|
* @package WordPress
|
||||||
* @subpackage HTTP
|
* @subpackage HTTP
|
||||||
* @since 3.7.0
|
*
|
||||||
|
* @since 2.7.0
|
||||||
|
* @since 3.7.0 Combined with the fsockopen transport and switched to stream_socket_client().
|
||||||
*/
|
*/
|
||||||
class WP_Http_Streams {
|
class WP_Http_Streams {
|
||||||
/**
|
/**
|
||||||
|
@ -674,7 +676,9 @@ class WP_Http_Streams {
|
||||||
*
|
*
|
||||||
* @see WP_Http::request For default options descriptions.
|
* @see WP_Http::request For default options descriptions.
|
||||||
*
|
*
|
||||||
* @since 3.7.0
|
* @since 2.7.0
|
||||||
|
* @since 3.7.0 Combined with the fsockopen transport and switched to stream_socket_client().
|
||||||
|
*
|
||||||
* @access public
|
* @access public
|
||||||
* @param string $url URI resource.
|
* @param string $url URI resource.
|
||||||
* @param string|array $args Optional. Override the defaults.
|
* @param string|array $args Optional. Override the defaults.
|
||||||
|
@ -998,7 +1002,8 @@ class WP_Http_Streams {
|
||||||
*
|
*
|
||||||
* @static
|
* @static
|
||||||
* @access public
|
* @access public
|
||||||
* @since 3.7.0
|
* @since 2.7.0
|
||||||
|
* @since 3.7.0 Combined with the fsockopen transport and switched to stream_socket_client().
|
||||||
*
|
*
|
||||||
* @return boolean False means this class can not be used, true means it can.
|
* @return boolean False means this class can not be used, true means it can.
|
||||||
*/
|
*/
|
||||||
|
@ -1021,6 +1026,7 @@ class WP_Http_Streams {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Deprecated HTTP Transport method which used fsockopen.
|
* Deprecated HTTP Transport method which used fsockopen.
|
||||||
|
*
|
||||||
* This class is not used, and is included for backwards compatibility only.
|
* This class is not used, and is included for backwards compatibility only.
|
||||||
* All code should make use of WP_HTTP directly through it's API.
|
* All code should make use of WP_HTTP directly through it's API.
|
||||||
*
|
*
|
||||||
|
@ -1028,7 +1034,9 @@ class WP_Http_Streams {
|
||||||
*
|
*
|
||||||
* @package WordPress
|
* @package WordPress
|
||||||
* @subpackage HTTP
|
* @subpackage HTTP
|
||||||
* @since 3.7.0
|
*
|
||||||
|
* @since 2.7.0
|
||||||
|
* @deprecated 3.7.0 Please use WP_HTTP::request() directly
|
||||||
*/
|
*/
|
||||||
class WP_HTTP_Fsockopen extends WP_HTTP_Streams {
|
class WP_HTTP_Fsockopen extends WP_HTTP_Streams {
|
||||||
// For backwards compatibility for users who are using the class directly
|
// For backwards compatibility for users who are using the class directly
|
||||||
|
|
Loading…
Reference in New Issue