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

@@ -21,7 +21,6 @@ class WP_Term_Query {
* SQL string used to perform database query.
*
* @since 4.6.0
* @access public
* @var string
*/
public $request;
@@ -30,7 +29,6 @@ class WP_Term_Query {
* Metadata query container.
*
* @since 4.6.0
* @access public
* @var object WP_Meta_Query
*/
public $meta_query = false;
@@ -39,7 +37,6 @@ class WP_Term_Query {
* Metadata query clauses.
*
* @since 4.6.0
* @access protected
* @var array
*/
protected $meta_query_clauses;
@@ -48,7 +45,6 @@ class WP_Term_Query {
* SQL query clauses.
*
* @since 4.6.0
* @access protected
* @var array
*/
protected $sql_clauses = array(
@@ -63,7 +59,6 @@ class WP_Term_Query {
* Query vars set by the user.
*
* @since 4.6.0
* @access public
* @var array
*/
public $query_vars;
@@ -72,7 +67,6 @@ class WP_Term_Query {
* Default values for query vars.
*
* @since 4.6.0
* @access public
* @var array
*/
public $query_var_defaults;
@@ -81,7 +75,6 @@ class WP_Term_Query {
* List of terms located by the query.
*
* @since 4.6.0
* @access public
* @var array
*/
public $terms;
@@ -94,7 +87,6 @@ class WP_Term_Query {
* @since 4.6.0
* @since 4.6.0 Introduced 'term_taxonomy_id' parameter.
* @since 4.7.0 Introduced 'object_ids' parameter.
* @access public
*
* @param string|array $query {
* Optional. Array or query string of term query parameters. Default empty.
@@ -225,7 +217,6 @@ class WP_Term_Query {
* Parse arguments passed to the term query with default query parameters.
*
* @since 4.6.0
* @access public
*
* @param string|array $query WP_Term_Query arguments. See WP_Term_Query::__construct()
*/
@@ -284,7 +275,6 @@ class WP_Term_Query {
* Sets up the query for retrieving terms.
*
* @since 4.6.0
* @access public
*
* @param string|array $query Array or URL query string of parameters.
* @return array|int List of terms, or number of terms when 'count' is passed as a query var.
@@ -298,7 +288,6 @@ class WP_Term_Query {
* Get terms, based on query_vars.
*
* @since 4.6.0
* @access public
*
* @global wpdb $wpdb WordPress database abstraction object.
*
@@ -822,7 +811,6 @@ class WP_Term_Query {
* Parse and sanitize 'orderby' keys passed to the term query.
*
* @since 4.6.0
* @access protected
*
* @global wpdb $wpdb WordPress database abstraction object.
*
@@ -879,7 +867,6 @@ class WP_Term_Query {
* Generate the ORDER BY clause for an 'orderby' param that is potentially related to a meta query.
*
* @since 4.6.0
* @access protected
*
* @param string $orderby_raw Raw 'orderby' value passed to WP_Term_Query.
* @return string ORDER BY clause.
@@ -939,7 +926,6 @@ class WP_Term_Query {
* Parse 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.
@@ -960,7 +946,6 @@ class WP_Term_Query {
* Used internally to generate a SQL string related to the 'search' parameter.
*
* @since 4.6.0
* @access protected
*
* @global wpdb $wpdb WordPress database abstraction object.
*