Make WordPress Core


Ignore:
Timestamp:
07/27/2017 12:40:27 AM (9 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-user-meta-session-tokens.php

    r38353 r41162  
    1919     *
    2020     * @since 4.0.0
    21      * @access protected
    2221     *
    2322     * @return array Sessions of a user.
     
    5251     *
    5352     * @since 4.0.0
    54      * @access protected
    5553     *
    5654     * @param string $verifier Verifier of the session to retrieve.
     
    7169     *
    7270     * @since 4.0.0
    73      * @access protected
    7471     *
    7572     * @param string $verifier Verifier of the session to update.
     
    9289     *
    9390     * @since 4.0.0
    94      * @access protected
    9591     *
    9692     * @param array $sessions Sessions.
     
    108104     *
    109105     * @since 4.0.0
    110      * @access protected
    111106     *
    112107     * @param string $verifier Verifier of the session to keep.
     
    121116     *
    122117     * @since 4.0.0
    123      * @access protected
    124118     */
    125119    protected function destroy_all_sessions() {
     
    131125     *
    132126     * @since 4.0.0
    133      * @access public
    134127     * @static
    135128     */
Note: See TracChangeset for help on using the changeset viewer.