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

    r41145 r41162  
    2121     *
    2222     * @since 4.0.1
    23      * @access public
    2423     * @var string
    2524     */
     
    3029     *
    3130     * @since 3.5.0
    32      * @access public
    3331     * @var object WP_Meta_Query
    3432     */
     
    3937     *
    4038     * @since 4.4.0
    41      * @access protected
    4239     * @var array
    4340     */
     
    4845     *
    4946     * @since 4.4.0
    50      * @access protected
    5147     * @var array
    5248     */
     
    6662     *
    6763     * @since 4.4.2
    68      * @access protected
    6964     * @var string
    7065     */
     
    7570     *
    7671     * @since 3.7.0
    77      * @access public
    7872     * @var object WP_Date_Query
    7973     */
     
    8478     *
    8579     * @since 3.1.0
    86      * @access public
    8780     * @var array
    8881     */
     
    9386     *
    9487     * @since 4.2.0
    95      * @access public
    9688     * @var array
    9789     */
     
    10294     *
    10395     * @since 4.0.0
    104      * @access public
    10596     * @var array
    10697     */
     
    111102     *
    112103     * @since 4.4.0
    113      * @access public
    114104     * @var int
    115105     */
     
    120110     *
    121111     * @since 4.4.0
    122      * @access public
    123112     * @var int
    124113     */
     
    129118     *
    130119     * @since 4.0.0
    131      * @access public
    132120     *
    133121     * @param callable $name      Method to call.
     
    153141     * @since 4.5.0 Introduced the `$author_url` argument.
    154142     * @since 4.6.0 Introduced the `$cache_domain` argument.
    155      * @access public
    156143     *
    157144     * @param string|array $query {
     
    318305     * @since 4.2.0 Extracted from WP_Comment_Query::query().
    319306     *
    320      * @access public
    321307     *
    322308     * @param string|array $query WP_Comment_Query arguments. See WP_Comment_Query::__construct()
     
    348334     *              arguments to $query_vars.
    349335     * @since 4.2.0 Moved parsing to WP_Comment_Query::parse_query().
    350      * @access public
    351336     *
    352337     * @param string|array $query Array or URL query string of parameters.
     
    362347     *
    363348     * @since 4.2.0
    364      * @access public
    365349     *
    366350     * @global wpdb $wpdb WordPress database abstraction object.
     
    477461     *
    478462     * @since 4.4.0
    479      * @access protected
    480463     *
    481464     * @global wpdb $wpdb WordPress database abstraction object.
     
    907890     *
    908891     * @since 4.6.0
    909      * @access private
    910892     *
    911893     * @global wpdb $wpdb WordPress database abstraction object.
     
    936918     *
    937919     * @since 4.4.0
    938      * @access protected
    939      *
     920     *
    940921     * @global wpdb $wpdb WordPress database abstraction object.
    941922     *
     
    10511032     *
    10521033     * @since 3.1.0
    1053      * @access protected
    10541034     *
    10551035     * @global wpdb $wpdb WordPress database abstraction object.
     
    10761056     *
    10771057     * @since 4.2.0
    1078      * @access protected
    10791058     *
    10801059     * @global wpdb $wpdb WordPress database abstraction object.
     
    11401119     *
    11411120     * @since 4.2.0
    1142      * @access protected
    11431121     *
    11441122     * @param string $order The 'order' query variable.
Note: See TracChangeset for help on using the changeset viewer.