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-metadata-lazyloader.php

    r37539 r41162  
    3434     *
    3535     * @since 4.5.0
    36      * @access protected
    3736     * @var array
    3837     */
     
    4342     *
    4443     * @since 4.5.0
    45      * @access protected
    4644     * @var array
    4745     */
     
    5250     *
    5351     * @since 4.5.0
    54      * @access public
    5552     */
    5653    public function __construct() {
     
    7168     *
    7269     * @since 4.5.0
    73      * @access public
    7470     *
    7571     * @param string $object_type Type of object whose meta is to be lazy-loaded. Accepts 'term' or 'comment'.
     
    113109     *
    114110     * @since 4.5.0
    115      * @access public
    116111     *
    117112     * @param string $object_type Object type. Accepts 'comment' or 'term'.
     
    136131     *
    137132     * @since 4.5.0
    138      * @access public
    139133     *
    140134     * @param mixed $check The `$check` param passed from the 'get_term_metadata' hook.
Note: See TracChangeset for help on using the changeset viewer.