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. Built from https://develop.svn.wordpress.org/trunk@41162 git-svn-id: http://core.svn.wordpress.org/trunk@41002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -20,7 +20,6 @@ class WP_Site_Query {
|
||||
* SQL for database query.
|
||||
*
|
||||
* @since 4.6.0
|
||||
* @access public
|
||||
* @var string
|
||||
*/
|
||||
public $request;
|
||||
@@ -29,7 +28,6 @@ class WP_Site_Query {
|
||||
* SQL query clauses.
|
||||
*
|
||||
* @since 4.6.0
|
||||
* @access protected
|
||||
* @var array
|
||||
*/
|
||||
protected $sql_clauses = array(
|
||||
@@ -45,7 +43,6 @@ class WP_Site_Query {
|
||||
* Date query container.
|
||||
*
|
||||
* @since 4.6.0
|
||||
* @access public
|
||||
* @var object WP_Date_Query
|
||||
*/
|
||||
public $date_query = false;
|
||||
@@ -54,7 +51,6 @@ class WP_Site_Query {
|
||||
* Query vars set by the user.
|
||||
*
|
||||
* @since 4.6.0
|
||||
* @access public
|
||||
* @var array
|
||||
*/
|
||||
public $query_vars;
|
||||
@@ -63,7 +59,6 @@ class WP_Site_Query {
|
||||
* Default values for query vars.
|
||||
*
|
||||
* @since 4.6.0
|
||||
* @access public
|
||||
* @var array
|
||||
*/
|
||||
public $query_var_defaults;
|
||||
@@ -72,7 +67,6 @@ class WP_Site_Query {
|
||||
* List of sites located by the query.
|
||||
*
|
||||
* @since 4.6.0
|
||||
* @access public
|
||||
* @var array
|
||||
*/
|
||||
public $sites;
|
||||
@@ -81,7 +75,6 @@ class WP_Site_Query {
|
||||
* The amount of found sites for the current query.
|
||||
*
|
||||
* @since 4.6.0
|
||||
* @access public
|
||||
* @var int
|
||||
*/
|
||||
public $found_sites = 0;
|
||||
@@ -90,7 +83,6 @@ class WP_Site_Query {
|
||||
* The number of pages.
|
||||
*
|
||||
* @since 4.6.0
|
||||
* @access public
|
||||
* @var int
|
||||
*/
|
||||
public $max_num_pages = 0;
|
||||
@@ -100,7 +92,6 @@ class WP_Site_Query {
|
||||
*
|
||||
* @since 4.6.0
|
||||
* @since 4.8.0 Introduced the 'lang_id', 'lang__in', and 'lang__not_in' parameters.
|
||||
* @access public
|
||||
*
|
||||
* @param string|array $query {
|
||||
* Optional. Array or query string of site query parameters. Default empty.
|
||||
@@ -192,7 +183,6 @@ class WP_Site_Query {
|
||||
* Parses arguments passed to the site query with default query parameters.
|
||||
*
|
||||
* @since 4.6.0
|
||||
* @access public
|
||||
*
|
||||
* @see WP_Site_Query::__construct()
|
||||
*
|
||||
@@ -219,7 +209,6 @@ class WP_Site_Query {
|
||||
* Sets up the WordPress query for retrieving sites.
|
||||
*
|
||||
* @since 4.6.0
|
||||
* @access public
|
||||
*
|
||||
* @param string|array $query Array or URL query string of parameters.
|
||||
* @return array|int List of sites, or number of sites when 'count' is passed as a query var.
|
||||
@@ -234,7 +223,6 @@ class WP_Site_Query {
|
||||
* Retrieves a list of sites matching the query vars.
|
||||
*
|
||||
* @since 4.6.0
|
||||
* @access public
|
||||
*
|
||||
* @return array|int List of sites, or number of sites when 'count' is passed as a query var.
|
||||
*/
|
||||
@@ -329,7 +317,6 @@ class WP_Site_Query {
|
||||
* Used internally to get a list of site IDs matching the query vars.
|
||||
*
|
||||
* @since 4.6.0
|
||||
* @access protected
|
||||
*
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*
|
||||
@@ -594,7 +581,6 @@ class WP_Site_Query {
|
||||
* if the limit clause was used.
|
||||
*
|
||||
* @since 4.6.0
|
||||
* @access private
|
||||
*
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*/
|
||||
@@ -620,7 +606,6 @@ class WP_Site_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.
|
||||
*
|
||||
@@ -649,7 +634,6 @@ class WP_Site_Query {
|
||||
* Parses and sanitizes 'orderby' keys passed to the site query.
|
||||
*
|
||||
* @since 4.6.0
|
||||
* @access protected
|
||||
*
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*
|
||||
@@ -697,7 +681,6 @@ class WP_Site_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.
|
||||
|
||||
Reference in New Issue
Block a user