Make WordPress Core


Ignore:
Timestamp:
07/27/2017 12:39:34 AM (9 years ago)
Author:
DrewAPicture
Message:

Docs: Remove @access notations from method DocBlocks in wp-admin/* 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-admin/includes/class-wp-filesystem-ssh2.php

    r37270 r41161  
    3737
    3838    /**
    39      * @access public
    4039     */
    4140    public $link = false;
    4241
    4342    /**
    44      * @access public
    4543     * @var resource
    4644     */
     
    4947
    5048    /**
    51      * @access public
    5249     *
    5350     * @param array $opt
     
    110107
    111108    /**
    112      * @access public
    113109     *
    114110     * @return bool
     
    175171     * See https://bugs.php.net/bug.php?id=64169 for more details.
    176172     *
    177      * @access public
    178173     *
    179174     * @since 4.4.0
     
    190185
    191186    /**
    192      * @access public
    193      *
     187     *
    194188     * @param string $command
    195189     * @param bool $returnbool
     
    223217
    224218    /**
    225      * @access public
    226219     *
    227220     * @param string $file
     
    233226
    234227    /**
    235      * @access public
    236228     *
    237229     * @param string $file
     
    243235
    244236    /**
    245      * @access public
    246237     *
    247238     * @param string   $file
     
    262253
    263254    /**
    264      * @access public
    265255     *
    266256     * @return bool
     
    275265
    276266    /**
    277      * @access public
    278267     *
    279268     * @param string $dir
     
    285274
    286275    /**
    287      * @access public
    288276     *
    289277     * @param string $file
     
    302290
    303291    /**
    304      * @access public
    305292     *
    306293     * @param string $file
     
    330317     * Change the ownership of a file / folder.
    331318     *
    332      * @access public
    333319     *
    334320     * @param string     $file      Path to the file.
     
    346332
    347333    /**
    348      * @access public
    349334     *
    350335     * @param string $file
     
    362347
    363348    /**
    364      * @access public
    365349     *
    366350     * @param string $file
     
    372356
    373357    /**
    374      * @access public
    375358     *
    376359     * @param string $file
     
    388371
    389372    /**
    390      * @access public
    391373     *
    392374     * @param string   $source
     
    406388
    407389    /**
    408      * @access public
    409390     *
    410391     * @param string $source
     
    418399
    419400    /**
    420      * @access public
    421401     *
    422402     * @param string      $file
     
    440420
    441421    /**
    442      * @access public
    443422     *
    444423     * @param string $file
     
    450429
    451430    /**
    452      * @access public
    453431     *
    454432     * @param string $file
     
    460438
    461439    /**
    462      * @access public
    463440     *
    464441     * @param string $path
     
    470447
    471448    /**
    472      * @access public
    473449     *
    474450     * @param string $file
     
    480456
    481457    /**
    482      * @access public
    483458     *
    484459     * @param string $file
     
    491466
    492467    /**
    493      * @access public
    494468     *
    495469     * @param string $file
     
    501475
    502476    /**
    503      * @access public
    504477     *
    505478     * @param string $file
     
    511484
    512485    /**
    513      * @access public
    514486     *
    515487     * @param string $file
     
    521493
    522494    /**
    523      * @access public
    524495     *
    525496     * @param string $file
     
    532503
    533504    /**
    534      * @access public
    535505     *
    536506     * @param string $path
     
    557527
    558528    /**
    559      * @access public
    560529     *
    561530     * @param string $path
     
    568537
    569538    /**
    570      * @access public
    571539     *
    572540     * @param string $path
Note: See TracChangeset for help on using the changeset viewer.