Make WordPress Core


Ignore:
Timestamp:
10/30/2014 01:04:55 AM (12 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/formatting.php

    r29873 r30105  
    12271227 *
    12281228 * @since 3.1.0
    1229  * @uses sanitize_title()
    12301229 *
    12311230 * @param string $title The string to be sanitized.
     
    22312230 * @since 1.2.0
    22322231 *
    2233  * @uses get_option() to retrieve the value of 'gmt_offset'.
    22342232 * @param string $string The date to be converted.
    22352233 * @param string $format The format string for the returned date (default is Y-m-d H:i:s)
     
    30243022 *
    30253023 * @since 2.8.0
    3026  * @uses wp_kses_bad_protocol() To only permit protocols in the URL set
    3027  *              via $protocols or the common ones set in the function.
    30283024 *
    30293025 * @param string $url The URL to be cleaned.
     
    30833079 *
    30843080 * @since 2.8.0
    3085  * @uses esc_url()
    30863081 *
    30873082 * @param string $url The URL to be cleaned.
     
    34793474 * KSES already converts lone greater than signs.
    34803475 *
    3481  * @uses wp_pre_kses_less_than_callback in the callback function.
    34823476 * @since 2.3.0
    34833477 *
     
    34923486 * Callback function used by preg_replace.
    34933487 *
    3494  * @uses esc_html to format the $matches text.
    34953488 * @since 2.3.0
    34963489 *
Note: See TracChangeset for help on using the changeset viewer.