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/post-template.php

    r30100 r30105  
    2222 *
    2323 * @since 2.1.0
    24  * @uses $post
    2524 *
    2625 * @return int|bool The ID of the current item in the WordPress Loop. False if $post is not set.
     
    908907 * @internal This will probably change at some point...
    909908 * @since 1.2.0
    910  * @uses apply_filters() Calls 'the_meta_key' on list item HTML content, with key and value as separate parameters.
    911909 */
    912910function the_meta() {
     
    14671465 *
    14681466 * @since 2.5.0
    1469  * @uses apply_filters() Calls 'wp_get_attachment_link' filter on HTML content with same parameters as function.
    14701467 *
    14711468 * @param int|WP_Post $id Optional. Post ID or post object.
     
    16031600 *
    16041601 * @since 2.5.0
    1605  * @uses $wp_query
    16061602 *
    16071603 * @param string $template The specific template name if specific matching is required.
     
    16501646 * @since 2.6.0
    16511647 *
    1652  * @uses date_i18n()
    1653  *
    16541648 * @param int|object $revision Revision ID or revision object.
    16551649 * @param bool $link Optional, default is true. Link to revisions's page?
     
    16861680 *
    16871681 * @since 3.6.0
    1688  *
    1689  * @uses date_i18n()
    16901682 *
    16911683 * @param int|object $revision Revision ID or revision object.
     
    17381730 * @since 2.6.0
    17391731 *
    1740  * @uses wp_get_post_revisions()
    1741  * @uses wp_post_revision_title_expanded()
    1742  * @uses get_edit_post_link()
    1743  * @uses get_the_author_meta()
    1744  *
    17451732 * @param int|WP_Post $post_id Optional. Post ID or WP_Post object. Default is global $post.
    17461733 * @param string $type 'all' (default), 'revision' or 'autosave'
Note: See TracChangeset for help on using the changeset viewer.