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-term.php

    r40979 r41162  
    2121     *
    2222     * @since 4.4.0
    23      * @access public
    2423     * @var int
    2524     */
     
    3029     *
    3130     * @since 4.4.0
    32      * @access public
    3331     * @var string
    3432     */
     
    3937     *
    4038     * @since 4.4.0
    41      * @access public
    4239     * @var string
    4340     */
     
    4845     *
    4946     * @since 4.4.0
    50      * @access public
    5147     * @var string
    5248     */
     
    5753     *
    5854     * @since 4.4.0
    59      * @access public
    6055     * @var int
    6156     */
     
    6661     *
    6762     * @since 4.4.0
    68      * @access public
    6963     * @var string
    7064     */
     
    7569     *
    7670     * @since 4.4.0
    77      * @access public
    7871     * @var string
    7972     */
     
    8477     *
    8578     * @since 4.4.0
    86      * @access public
    8779     * @var int
    8880     */
     
    9385     *
    9486     * @since 4.4.0
    95      * @access public
    9687     * @var int
    9788     */
     
    10495     *
    10596     * @since 4.4.0
    106      * @access public
    10797     * @var string
    10898     */
     
    113103     *
    114104     * @since 4.4.0
    115      * @access public
    116105     * @static
    117106     *
     
    203192     *
    204193     * @since 4.4.0
    205      * @access public
    206194     *
    207195     * @param WP_Term|object $term Term object.
     
    217205     *
    218206     * @since 4.4.0
    219      * @access public
    220207     *
    221208     * @param string $filter Filter context. Accepts 'edit', 'db', 'display', 'attribute', 'js', 'raw'.
     
    229216     *
    230217     * @since 4.4.0
    231      * @access public
    232218     *
    233219     * @return array Object as array.
     
    241227     *
    242228     * @since 4.4.0
    243      * @access public
    244229     *
    245230     * @param string $key Property to get.
Note: See TracChangeset for help on using the changeset viewer.