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-meta-query.php

    r40988 r41162  
    2727     *
    2828     * @since 3.2.0
    29      * @access public
    3029     * @var array
    3130     */
     
    3635     *
    3736     * @since 3.2.0
    38      * @access public
    3937     * @var string
    4038     */
     
    4543     *
    4644     * @since 4.1.0
    47      * @access public
    4845     * @var string
    4946     */
     
    5451     *
    5552     * @since 4.1.0
    56      * @access public
    5753     * @var string
    5854     */
     
    6359     *
    6460     * @since 4.1.0
    65      * @access public
    6661     * @var string
    6762     */
     
    7267     *
    7368     * @since 4.1.0
    74      * @access public
    7569     * @var string
    7670     */
     
    8175     *
    8276     * @since 4.1.0
    83      * @access protected
    8477     * @var array
    8578     */
     
    9083     *
    9184     * @since 4.2.0
    92      * @access protected
    9385     * @var array
    9486     */
     
    9991     *
    10092     * @since 4.3.0
    101      * @access protected
    10293     * @var bool
    10394     */
     
    110101     * @since 4.2.0 Introduced support for naming query clauses by associative array keys.
    111102     *
    112      * @access public
    113103     *
    114104     * @param array $meta_query {
     
    154144     *
    155145     * @since 4.1.0
    156      * @access public
    157146     *
    158147     * @param array $queries Array of query clauses.
     
    223212     *
    224213     * @since 4.1.0
    225      * @access protected
    226214     *
    227215     * @param array $query Meta query arguments.
     
    236224     *
    237225     * @since 3.2.0
    238      * @access public
    239226     *
    240227     * @param array $qv The query variables
     
    284271     *
    285272     * @since 3.7.0
    286      * @access public
    287273     *
    288274     * @param string $type MySQL type to cast meta_value.
     
    308294     *
    309295     * @since 3.2.0
    310      * @access public
    311296     *
    312297     * @param string $type              Type of meta, eg 'user', 'post'.
     
    366351     *
    367352     * @since 4.1.0
    368      * @access protected
    369353     *
    370354     * @return array {
     
    397381     *
    398382     * @since 4.1.0
    399      * @access protected
    400383     *
    401384     * @param array $query Query to parse, passed by reference.
     
    481464     *
    482465     * @since 4.1.0
    483      * @access public
    484466     *
    485467     * @global wpdb $wpdb WordPress database abstraction object.
     
    659641     *
    660642     * @since 4.2.0
    661      * @access public
    662643     *
    663644     * @return array Meta clauses.
     
    682663     *
    683664     * @since 4.1.0
    684      * @access protected
    685665     *
    686666     * @param  array       $clause       Query clause.
Note: See TracChangeset for help on using the changeset viewer.