[wp-trac] [WordPress Trac] #35289: Docs: Fix phpdoc tags for WP Http methods

WordPress Trac noreply at wordpress.org
Wed Jan 20 18:45:06 UTC 2016


#35289: Docs: Fix phpdoc tags for WP Http methods
--------------------------+---------------------------
 Reporter:  Frozzare      |       Owner:  DrewAPicture
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.5
Component:  HTTP API      |     Version:  trunk
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+---------------------------
Changes (by DrewAPicture):

 * owner:   => DrewAPicture
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"36367"]:
 {{{
 #!CommitTicketReference repository="" revision="36367"
 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.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35289#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list