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. Built from https://develop.svn.wordpress.org/trunk@36367 git-svn-id: http://core.svn.wordpress.org/trunk@36334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3018d9827c
commit
42caba7134
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.5-alpha-36366';
|
||||
$wp_version = '4.5-alpha-36367';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue