Make WordPress Core


Ignore:
Timestamp:
10/30/2014 01:04:55 AM (10 years ago)
Author:
DrewAPicture
Message:

Remove redundant and erroneous @uses tag from most core inline documentation.

Per our inline documentation standards, no further use of the @uses tag is recommended as used and used-by relationships can be derived through other means. This removes most uses of the tag in core documentation, with remaining tags to be converted to @global or @see as they apply.

Fixes #30191.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/general-template.php

    r30074 r30105  
    1717 *
    1818 * @since 1.5.0
    19  *
    20  * @uses locate_template()
    2119 *
    2220 * @param string $name The name of the specialised header.
     
    6058 * @since 1.5.0
    6159 *
    62  * @uses locate_template()
    63  *
    6460 * @param string $name The name of the specialised footer.
    6561 */
     
    10298 * @since 1.5.0
    10399 *
    104  * @uses locate_template()
    105  *
    106100 * @param string $name The name of the specialised sidebar.
    107101 */
     
    150144 *
    151145 * @since 3.0.0
    152  *
    153  * @uses locate_template()
    154146 *
    155147 * @param string $slug The slug name for the generic template.
     
    308300 * @since 2.7.0
    309301 *
    310  * @uses wp_nonce_url() To protect against CSRF.
    311  * @uses site_url() To generate the log out URL.
    312  *
    313302 * @param string $redirect Path to redirect to on logout.
    314303 * @return string A log out URL.
     
    341330 * @since 2.7.0
    342331 *
    343  * @uses site_url() To generate the log in URL.
    344  *
    345332 * @param string $redirect Path to redirect to on login.
    346333 * @param bool $force_reauth Whether to force reauthorization, even if a cookie is present. Default is false.
     
    373360 *
    374361 * @since 3.6.0
    375  *
    376  * @uses site_url() To generate the registration URL.
    377362 *
    378363 * @return string User registration URL.
     
    496481 *
    497482 * @since 2.8.0
    498  *
    499  * @uses site_url() To generate the lost password URL
    500483 *
    501484 * @param string $redirect Path to redirect to on login.
     
    14301413 *
    14311414 * @since 1.0.0
    1432  * @uses calendar_week_mod()
    14331415 *
    14341416 * @param bool $initial Optional, default is true. Use initial calendar names.
     
    17121694 * @since 0.71
    17131695 *
    1714  * @uses get_the_date()
    17151696 * @param string $d Optional. PHP date format defaults to the date_format option if not specified.
    17161697 * @param string $before Optional. Output before the date.
     
    20332014 * @since 0.71
    20342015 * @uses $wp_locale
    2035  * @uses $post
    20362016 */
    20372017function the_weekday() {
     
    23592339 *
    23602340 * @since 2.3.0
    2361  * @uses esc_attr()
    23622341 *
    23632342 * @param bool $escaped Whether the result is escaped. Default true.
     
    23862365 * to ensure that it is safe for placing in an html attribute.
    23872366 *
    2388  * @uses esc_attr()
    23892367 * @since 2.1.0
    23902368 */
Note: See TracChangeset for help on using the changeset viewer.