Make WordPress Core


Ignore:
Timestamp:
07/27/2017 12:40:27 AM (7 years ago)
Author:
DrewAPicture
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-tax-query.php

    r40918 r41162  
    2828     *
    2929     * @since 3.1.0
    30      * @access public
    3130     * @var array
    3231     */
     
    3736     *
    3837     * @since 3.1.0
    39      * @access public
    4038     * @var string
    4139     */
     
    4846     *
    4947     * @static
    50      * @access private
    5148     * @var string
    5249     */
     
    5754     *
    5855     * @since 4.1.0
    59      * @access protected
    6056     * @var array
    6157     */
     
    6965     *
    7066     * @since 4.1.0
    71      * @access public
    7267     * @var array
    7368     */
     
    7873     *
    7974     * @since 4.1.0
    80      * @access public
    8175     * @var string
    8276     */
     
    8781     *
    8882     * @since 4.1.0
    89      * @access public
    9083     * @var string
    9184     */
     
    9790     * @since 3.1.0
    9891     * @since 4.1.0 Added support for `$operator` 'NOT EXISTS' and 'EXISTS' values.
    99      * @access public
    10092     *
    10193     * @param array $tax_query {
     
    136128     *
    137129     * @since 4.1.0
    138      * @access public
    139130     *
    140131     * @param array $queries Array of queries clauses.
     
    208199     *
    209200     * @since 4.1.0
    210      * @access public
    211201     *
    212202     * @param string $relation Raw relation key from the query argument.
     
    233223     *
    234224     * @static
    235      * @access protected
    236225     *
    237226     * @param array $query Tax query arguments.
     
    248237     *
    249238     * @static
    250      * @access public
    251239     *
    252240     * @param string $primary_table     Database table where the object being filtered is stored (eg wp_users).
     
    273261     *
    274262     * @since 4.1.0
    275      * @access protected
    276263     *
    277264     * @return array {
     
    304291     *
    305292     * @since 4.1.0
    306      * @access protected
    307293     *
    308294     * @param array $query Query to parse, passed by reference.
     
    386372     *
    387373     * @since 4.1.0
    388      * @access public
    389374     *
    390375     * @global wpdb $wpdb The WordPress database abstraction object.
     
    512497     *
    513498     * @since 4.1.0
    514      * @access protected
    515499     *
    516500     * @param array       $clause       Query clause.
     
    556540     *
    557541     * @since 3.2.0
    558      * @access private
    559542     *
    560543     * @param array $query The single query. Passed by reference.
Note: See TracChangeset for help on using the changeset viewer.