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

    r40924 r41162  
    2222     *
    2323     * @since 4.6.0
    24      * @access public
    2524     * @var string
    2625     */
     
    3130     *
    3231     * @since 4.6.0
    33      * @access public
    3432     * @var object WP_Meta_Query
    3533     */
     
    4038     *
    4139     * @since 4.6.0
    42      * @access protected
    4340     * @var array
    4441     */
     
    4946     *
    5047     * @since 4.6.0
    51      * @access protected
    5248     * @var array
    5349     */
     
    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 array
    8679     */
     
    9588     * @since 4.6.0 Introduced 'term_taxonomy_id' parameter.
    9689     * @since 4.7.0 Introduced 'object_ids' parameter.
    97      * @access public
    9890     *
    9991     * @param string|array $query {
     
    226218     *
    227219     * @since 4.6.0
    228      * @access public
    229220     *
    230221     * @param string|array $query WP_Term_Query arguments. See WP_Term_Query::__construct()
     
    285276     *
    286277     * @since 4.6.0
    287      * @access public
    288278     *
    289279     * @param string|array $query Array or URL query string of parameters.
     
    299289     *
    300290     * @since 4.6.0
    301      * @access public
    302291     *
    303292     * @global wpdb $wpdb WordPress database abstraction object.
     
    823812     *
    824813     * @since 4.6.0
    825      * @access protected
    826814     *
    827815     * @global wpdb $wpdb WordPress database abstraction object.
     
    880868     *
    881869     * @since 4.6.0
    882      * @access protected
    883870     *
    884871     * @param string $orderby_raw Raw 'orderby' value passed to WP_Term_Query.
     
    940927     *
    941928     * @since 4.6.0
    942      * @access protected
    943929     *
    944930     * @param string $order The 'order' query variable.
     
    961947     *
    962948     * @since 4.6.0
    963      * @access protected
    964949     *
    965950     * @global wpdb $wpdb WordPress database abstraction object.
Note: See TracChangeset for help on using the changeset viewer.