Make WordPress Core


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

    r40982 r41162  
    2121     *
    2222     * @since 3.5.0
    23      * @access public
    2423     * @var array
    2524     */
     
    3029     *
    3130     * @since 3.1.0
    32      * @access private
    3331     * @var array
    3432     */
     
    3937     *
    4038     * @since 3.1.0
    41      * @access private
    4239     * @var int
    4340     */
     
    4845     *
    4946     * @since 4.2.0
    50      * @access public
    5147     * @var WP_Meta_Query
    5248     */
     
    5753     *
    5854     * @since 4.4.0
    59      * @access public
    6055     * @var string
    6156     */
     
    8984     *
    9085     * @since 4.4.0
    91      * @access public
    9286     *
    9387     * @param array $args Query vars, as passed to `WP_User_Query`.
     
    141135     *              and 'login__not_in' parameters.
    142136     *
    143      * @access public
    144137     *
    145138     * @global wpdb $wpdb WordPress database abstraction object.
     
    638631     *
    639632     * @since 3.5.0
    640      * @access public
    641633     *
    642634     * @param string $query_var Query variable key.
     
    654646     *
    655647     * @since 3.5.0
    656      * @access public
    657648     *
    658649     * @param string $query_var Query variable key.
     
    666657     * Used internally to generate an SQL string for searching across multiple columns
    667658     *
    668      * @access protected
    669659     * @since 3.1.0
    670660     *
     
    700690     *
    701691     * @since 3.1.0
    702      * @access public
    703692     *
    704693     * @return array Array of results.
     
    712701     *
    713702     * @since 3.1.0
    714      * @access public
    715703     *
    716704     * @return int Number of total users.
     
    724712     *
    725713     * @since 4.2.0
    726      * @access protected
    727714     *
    728715     * @global wpdb $wpdb WordPress database abstraction object.
     
    784771     *
    785772     * @since 4.2.0
    786      * @access protected
    787773     *
    788774     * @param string $order The 'order' query variable.
     
    805791     *
    806792     * @since 4.0.0
    807      * @access public
    808793     *
    809794     * @param string $name Property to get.
     
    820805     *
    821806     * @since 4.0.0
    822      * @access public
    823807     *
    824808     * @param string $name  Property to check if set.
     
    836820     *
    837821     * @since 4.0.0
    838      * @access public
    839822     *
    840823     * @param string $name Property to check if set.
     
    851834     *
    852835     * @since 4.0.0
    853      * @access public
    854836     *
    855837     * @param string $name Property to unset.
     
    865847     *
    866848     * @since 4.0.0
    867      * @access public
    868849     *
    869850     * @param callable $name      Method to call.
Note: See TracChangeset for help on using the changeset viewer.