Docs: Remove @access notations from method DocBlocks in wp-includes/* classes.

Prior to about 2013, many class methods lacked even access modifiers which made the `@access` notations that much more useful. Now that we've gotten to a point where the codebase is more mature from a maintenance perspective and we can finally remove these notations. Notable exceptions to this change include standalone functions notated as private as well as some classes still considered to represent "private" APIs.

See #41452.


git-svn-id: https://develop.svn.wordpress.org/trunk@41162 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes
2017-07-27 00:40:27 +00:00
parent 829139ba1a
commit b4d81bd654
135 changed files with 2 additions and 1906 deletions

View File

@@ -18,7 +18,6 @@ class WP_HTTP_Response {
* Response data.
*
* @since 4.4.0
* @access public
* @var mixed
*/
public $data;
@@ -27,7 +26,6 @@ class WP_HTTP_Response {
* Response headers.
*
* @since 4.4.0
* @access public
* @var array
*/
public $headers;
@@ -36,7 +34,6 @@ class WP_HTTP_Response {
* Response status.
*
* @since 4.4.0
* @access public
* @var int
*/
public $status;
@@ -45,7 +42,6 @@ class WP_HTTP_Response {
* Constructor.
*
* @since 4.4.0
* @access public
*
* @param mixed $data Response data. Default null.
* @param int $status Optional. HTTP status code. Default 200.
@@ -61,7 +57,6 @@ class WP_HTTP_Response {
* Retrieves headers associated with the response.
*
* @since 4.4.0
* @access public
*
* @return array Map of header name to header value.
*/
@@ -73,7 +68,6 @@ class WP_HTTP_Response {
* Sets all header values.
*
* @since 4.4.0
* @access public
*
* @param array $headers Map of header name to header value.
*/
@@ -85,7 +79,6 @@ class WP_HTTP_Response {
* Sets a single HTTP header.
*
* @since 4.4.0
* @access public
*
* @param string $key Header name.
* @param string $value Header value.
@@ -104,7 +97,6 @@ class WP_HTTP_Response {
* Retrieves the HTTP return code for the response.
*
* @since 4.4.0
* @access public
*
* @return int The 3-digit HTTP status code.
*/
@@ -116,7 +108,6 @@ class WP_HTTP_Response {
* Sets the 3-digit HTTP status code.
*
* @since 4.4.0
* @access public
*
* @param int $code HTTP status.
*/
@@ -128,7 +119,6 @@ class WP_HTTP_Response {
* Retrieves the response data.
*
* @since 4.4.0
* @access public
*
* @return mixed Response data.
*/
@@ -140,7 +130,6 @@ class WP_HTTP_Response {
* Sets the response data.
*
* @since 4.4.0
* @access public
*
* @param mixed $data Response data.
*/
@@ -155,7 +144,6 @@ class WP_HTTP_Response {
* however this may be different if you want to do custom JSON data handling.
*
* @since 4.4.0
* @access public
*
* @return mixed Any JSON-serializable value.
*/