Make WordPress Core


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

    r41059 r41162  
    2121     *
    2222     * @since 4.6.0
    23      * @access public
    2423     * @var string
    2524     */
     
    3029     *
    3130     * @since 4.6.0
    32      * @access protected
    3331     * @var array
    3432     */
     
    4644     *
    4745     * @since 4.6.0
    48      * @access public
    4946     * @var object WP_Date_Query
    5047     */
     
    5552     *
    5653     * @since 4.6.0
    57      * @access public
    5854     * @var array
    5955     */
     
    6460     *
    6561     * @since 4.6.0
    66      * @access public
    6762     * @var array
    6863     */
     
    7368     *
    7469     * @since 4.6.0
    75      * @access public
    7670     * @var array
    7771     */
     
    8276     *
    8377     * @since 4.6.0
    84      * @access public
    8578     * @var int
    8679     */
     
    9184     *
    9285     * @since 4.6.0
    93      * @access public
    9486     * @var int
    9587     */
     
    10193     * @since 4.6.0
    10294     * @since 4.8.0 Introduced the 'lang_id', 'lang__in', and 'lang__not_in' parameters.
    103      * @access public
    10495     *
    10596     * @param string|array $query {
     
    193184     *
    194185     * @since 4.6.0
    195      * @access public
    196186     *
    197187     * @see WP_Site_Query::__construct()
     
    220210     *
    221211     * @since 4.6.0
    222      * @access public
    223212     *
    224213     * @param string|array $query Array or URL query string of parameters.
     
    235224     *
    236225     * @since 4.6.0
    237      * @access public
    238226     *
    239227     * @return array|int List of sites, or number of sites when 'count' is passed as a query var.
     
    330318     *
    331319     * @since 4.6.0
    332      * @access protected
    333320     *
    334321     * @global wpdb $wpdb WordPress database abstraction object.
     
    595582     *
    596583     * @since 4.6.0
    597      * @access private
    598584     *
    599585     * @global wpdb $wpdb WordPress database abstraction object.
     
    621607     *
    622608     * @since 4.6.0
    623      * @access protected
    624609     *
    625610     * @global wpdb  $wpdb WordPress database abstraction object.
     
    650635     *
    651636     * @since 4.6.0
    652      * @access protected
    653637     *
    654638     * @global wpdb $wpdb WordPress database abstraction object.
     
    698682     *
    699683     * @since 4.6.0
    700      * @access protected
    701684     *
    702685     * @param string $order The 'order' query variable.
Note: See TracChangeset for help on using the changeset viewer.