Docs: Update the @access tag value for WP_Http::_get_first_available_transport() from private to public.

When the method was introduced in [17914], the name was underscore-prefixed as is core style for private-use, though it was also introduced with a `public` access modifier for the declaration. Due to core's committment to backward-compatibility, the access modifier overrules in this case, meaning that while the method is underscore-prefixed and was originally-intentioned to be private, it is and always will be a public method, and the documentation should reflect that.

Props Frozzare.
Fixes #35289.


git-svn-id: https://develop.svn.wordpress.org/trunk@36367 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes 2016-01-20 18:45:04 +00:00
parent 77f8c5fc07
commit 832197c6e6

View File

@ -359,7 +359,7 @@ class WP_Http {
* Tests which transports are capable of supporting the request.
*
* @since 3.2.0
* @access private
* @access public
*
* @param array $args Request arguments
* @param string $url URL to Request
@ -368,6 +368,7 @@ class WP_Http {
*/
public function _get_first_available_transport( $args, $url = null ) {
$transports = array( 'curl', 'streams' );
/**
* Filter which HTTP transports are available and in what order.
*