WP_HTTP: Correct the @since, and, @deprecated PHPDoc tags to reflect the class history. See #25007

git-svn-id: https://develop.svn.wordpress.org/trunk@25309 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dion Hulse 2013-09-09 08:09:20 +00:00
parent 4a56e07c75
commit d0a189c6be
1 changed files with 12 additions and 4 deletions

View File

@ -666,7 +666,9 @@ class WP_Http {
*
* @package WordPress
* @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 {
/**
@ -674,7 +676,9 @@ class WP_Http_Streams {
*
* @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
* @param string $url URI resource.
* @param string|array $args Optional. Override the defaults.
@ -998,7 +1002,8 @@ class WP_Http_Streams {
*
* @static
* @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.
*/
@ -1021,6 +1026,7 @@ class WP_Http_Streams {
/**
* Deprecated HTTP Transport method which used fsockopen.
*
* 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.
*
@ -1028,7 +1034,9 @@ class WP_Http_Streams {
*
* @package WordPress
* @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 {
// For backwards compatibility for users who are using the class directly