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-network-query.php

    r41063 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 array
    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 int
    7771     */
     
    8276     *
    8377     * @since 4.6.0
    84      * @access public
    8578     * @var int
    8679     */
     
    9386     *
    9487     * @since 4.6.0
    95      * @access public
    9688     *
    9789     * @param string|array $query {
     
    153145     * @since 4.6.0
    154146     *
    155      * @access public
    156147     *
    157148     * @param string|array $query WP_Network_Query arguments. See WP_Network_Query::__construct()
     
    178169     *
    179170     * @since 4.6.0
    180      * @access public
    181171     *
    182172     * @param string|array $query Array or URL query string of parameters.
     
    192182     *
    193183     * @since 4.6.0
    194      * @access public
    195184     *
    196185     * @return int|array The list of networks.
     
    285274     *
    286275     * @since 4.6.0
    287      * @access protected
    288276     *
    289277     * @global wpdb $wpdb WordPress database abstraction object.
     
    462450     *
    463451     * @since 4.6.0
    464      * @access private
    465452     *
    466453     * @global wpdb $wpdb WordPress database abstraction object.
     
    488475     *
    489476     * @since 4.6.0
    490      * @access protected
    491477     *
    492478     * @global wpdb  $wpdb WordPress database abstraction object.
     
    514500     *
    515501     * @since 4.6.0
    516      * @access protected
    517502     *
    518503     * @global wpdb $wpdb WordPress database abstraction object.
     
    548533     *
    549534     * @since 4.6.0
    550      * @access protected
    551535     *
    552536     * @param string $order The 'order' query variable.
Note: See TracChangeset for help on using the changeset viewer.