WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/27/2017 12:40:27 AM (2 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-site.php

    r40478 r41162  
    3131     *
    3232     * @since 4.5.0
    33      * @access public
    3433     * @var string
    3534     */
     
    4039     *
    4140     * @since 4.5.0
    42      * @access public
    4341     * @var string
    4442     */
     
    4947     *
    5048     * @since 4.5.0
    51      * @access public
    5249     * @var string
    5350     */
     
    6360     *
    6461     * @since 4.5.0
    65      * @access public
    6662     * @var string
    6763     */
     
    7268     *
    7369     * @since 4.5.0
    74      * @access public
    7570     * @var string Date in MySQL's datetime format.
    7671     */
     
    8176     *
    8277     * @since 4.5.0
    83      * @access public
    8478     * @var string Date in MySQL's datetime format.
    8579     */
     
    9286     *
    9387     * @since 4.5.0
    94      * @access public
    9588     * @var string
    9689     */
     
    10396     *
    10497     * @since 4.5.0
    105      * @access public
    10698     * @var string
    10799     */
     
    117109     *
    118110     * @since 4.5.0
    119      * @access public
    120111     * @var string
    121112     */
     
    128119     *
    129120     * @since 4.5.0
    130      * @access public
    131121     * @var string
    132122     */
     
    139129     *
    140130     * @since 4.5.0
    141      * @access public
    142131     * @var string
    143132     */
     
    150139     *
    151140     * @since 4.5.0
    152      * @access public
    153141     * @var string
    154142     */
     
    160148     * @static
    161149     * @since 4.5.0
    162      * @access public
    163150     *
    164151     * @global wpdb $wpdb WordPress database abstraction object.
     
    197184     *
    198185     * @since 4.5.0
    199      * @access public
    200186     *
    201187     * @param WP_Site|object $site A site object.
     
    211197     *
    212198     * @since 4.6.0
    213      * @access public
    214199     *
    215200     * @return array Object as array.
     
    226211     *
    227212     * @since 4.6.0
    228      * @access public
    229213     *
    230214     * @param string $key Property to get.
     
    262246     *
    263247     * @since 4.6.0
    264      * @access public
    265248     *
    266249     * @param string $key Property to check if set.
     
    300283     *
    301284     * @since 4.6.0
    302      * @access public
    303285     *
    304286     * @param string $key   Property to set.
     
    324306     *
    325307     * @since 4.6.0
    326      * @access private
    327308     *
    328309     * @see WP_Site::__get()
Note: See TracChangeset for help on using the changeset viewer.