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

    r30091 r30105  
    7777 *
    7878 * @since 2.6.0
    79  *
    80  * @uses _wp_put_post_revision()
    8179 *
    8280 * @param int $post_id The ID of the post to save as a revision.
     
    193191 * @since 2.6.0
    194192 *
    195  * @uses wp_get_post_revisions()
    196  *
    197193 * @param int $post_id The post ID.
    198194 * @param int $user_id optional The post author ID.
     
    252248 * @since 2.6.0
    253249 * @access private
    254  *
    255  * @uses wp_insert_post()
    256250 *
    257251 * @param int|object|array $post Post ID, post object OR post array.
     
    296290 *
    297291 * @since 2.6.0
    298  *
    299  * @uses get_post()
    300292 *
    301293 * @param int|object $post The post ID or object.
     
    329321 *
    330322 * @since 2.6.0
    331  *
    332  * @uses wp_get_post_revision()
    333  * @uses wp_update_post()
    334323 *
    335324 * @param int|object $revision_id Revision ID or revision object.
     
    391380 * @since 2.6.0
    392381 *
    393  * @uses wp_get_post_revision()
    394  * @uses wp_delete_post()
    395  *
    396382 * @param int|object $revision_id Revision ID or revision object.
    397383 * @return mixed Null or WP_Error if error, deleted post if success.
     
    425411 * @since 2.6.0
    426412 *
    427  * @uses get_children()
    428  *
    429413 * @param int|WP_Post $post_id Optional. Post ID or WP_Post object. Default is global $post.
    430414 * @return array An array of revisions, or an empty array if none.
     
    454438 * @since 3.6.0
    455439 *
    456  * @uses wp_revisions_to_keep()
    457  *
    458440 * @param object $post The post object.
    459441 * @return bool True if number of revisions to keep isn't zero, false otherwise.
     
    468450 *
    469451 * @since 3.6.0
    470  *
    471  * @uses post_type_supports()
    472452 *
    473453 * @param object $post The post object.
     
    587567 * @since 3.6.0
    588568 * @access private
    589  *
    590  * @uses wp_get_post_revisions()
    591569 *
    592570 * @param object $post Post object
Note: See TracChangeset for help on using the changeset viewer.