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

@@ -20,7 +20,6 @@ class WP_Network_Query {
* SQL for database query.
*
* @since 4.6.0
* @access public
* @var string
*/
public $request;
@@ -29,7 +28,6 @@ class WP_Network_Query {
* SQL query clauses.
*
* @since 4.6.0
* @access protected
* @var array
*/
protected $sql_clauses = array(
@@ -45,7 +43,6 @@ class WP_Network_Query {
* Query vars set by the user.
*
* @since 4.6.0
* @access public
* @var array
*/
public $query_vars;
@@ -54,7 +51,6 @@ class WP_Network_Query {
* Default values for query vars.
*
* @since 4.6.0
* @access public
* @var array
*/
public $query_var_defaults;
@@ -63,7 +59,6 @@ class WP_Network_Query {
* List of networks located by the query.
*
* @since 4.6.0
* @access public
* @var array
*/
public $networks;
@@ -72,7 +67,6 @@ class WP_Network_Query {
* The amount of found networks for the current query.
*
* @since 4.6.0
* @access public
* @var int
*/
public $found_networks = 0;
@@ -81,7 +75,6 @@ class WP_Network_Query {
* The number of pages.
*
* @since 4.6.0
* @access public
* @var int
*/
public $max_num_pages = 0;
@@ -92,7 +85,6 @@ class WP_Network_Query {
* Sets up the network query, based on the query vars passed.
*
* @since 4.6.0
* @access public
*
* @param string|array $query {
* Optional. Array or query string of network query parameters. Default empty.
@@ -152,7 +144,6 @@ class WP_Network_Query {
*
* @since 4.6.0
*
* @access public
*
* @param string|array $query WP_Network_Query arguments. See WP_Network_Query::__construct()
*/
@@ -177,7 +168,6 @@ class WP_Network_Query {
* Sets up the WordPress query for retrieving networks.
*
* @since 4.6.0
* @access public
*
* @param string|array $query Array or URL query string of parameters.
* @return array|int List of networks, or number of networks when 'count' is passed as a query var.
@@ -191,7 +181,6 @@ class WP_Network_Query {
* Gets a list of networks matching the query vars.
*
* @since 4.6.0
* @access public
*
* @return int|array The list of networks.
*/
@@ -284,7 +273,6 @@ class WP_Network_Query {
* Used internally to get a list of network IDs matching the query vars.
*
* @since 4.6.0
* @access protected
*
* @global wpdb $wpdb WordPress database abstraction object.
*
@@ -461,7 +449,6 @@ class WP_Network_Query {
* if the limit clause was used.
*
* @since 4.6.0
* @access private
*
* @global wpdb $wpdb WordPress database abstraction object.
*/
@@ -487,7 +474,6 @@ class WP_Network_Query {
* Used internally to generate an SQL string for searching across multiple columns.
*
* @since 4.6.0
* @access protected
*
* @global wpdb $wpdb WordPress database abstraction object.
*
@@ -513,7 +499,6 @@ class WP_Network_Query {
* Parses and sanitizes 'orderby' keys passed to the network query.
*
* @since 4.6.0
* @access protected
*
* @global wpdb $wpdb WordPress database abstraction object.
*
@@ -547,7 +532,6 @@ class WP_Network_Query {
* Parses an 'order' query variable and cast it to 'ASC' or 'DESC' as necessary.
*
* @since 4.6.0
* @access protected
*
* @param string $order The 'order' query variable.
* @return string The sanitized 'order' query variable.