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/media.php

    r30082 r30105  
    2626 *
    2727 * @since 2.5.0
    28  * @uses wp_constrain_dimensions() This function passes the widths and the heights.
    2928 *
    3029 * @param int $width Width of the image
     
    685684 *
    686685 * @see add_image_size()
    687  * @uses wp_get_attachment_image_src() Gets attachment file URL and dimensions
    688686 *
    689687 * @param int          $attachment_id Image attachment ID.
     
    19961994 * @since 3.5.0
    19971995 * @see get_attachment_taxonomies()
    1998  * @uses get_taxonomies()
    19991996 *
    20001997 * @param string $output The type of output to return, either taxonomy 'names' or 'objects'. 'names' is the default.
     
    21002097 *
    21012098 * @since 2.9.0
    2102  * @uses wp_constrain_dimensions() This function passes the widths and the heights.
    21032099 *
    21042100 * @param int $example_width The width of an example embed.
     
    21232119 * @see WP_oEmbed
    21242120 *
    2125  * @uses _wp_oembed_get_object()
    2126  * @uses WP_oEmbed::get_html()
    2127  *
    21282121 * @param string $url The URL that should be embedded.
    21292122 * @param array $args Additional arguments and parameters.
     
    21412134 * @since 2.9.0
    21422135 * @see WP_oEmbed
    2143  *
    2144  * @uses _wp_oembed_get_object()
    21452136 *
    21462137 * @param string $format The format of URL that this provider can handle. You can use asterisks as wildcards.
     
    21642155 * @since 3.5.0
    21652156 * @see WP_oEmbed
    2166  *
    2167  * @uses _wp_oembed_get_object()
    21682157 *
    21692158 * @param string $format The URL format for the oEmbed provider to remove.
Note: See TracChangeset for help on using the changeset viewer.