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

    r28909 r30105  
    1717 *
    1818 * @uses $authordata The current author's DB object.
    19  * @uses apply_filters() Calls 'the_author' hook on the author display name.
    2019 *
    2120 * @param string $deprecated Deprecated.
     
    7271 * @since 2.8.0
    7372 *
    74  * @uses $post The current post's DB object.
    75  * @uses get_post_meta() Retrieves the ID of the author who last edited the current post.
    76  * @uses get_userdata() Retrieves the author's DB object.
    77  * @uses apply_filters() Calls 'the_modified_author' hook on the author display name.
    7873 * @return string The author's display name.
    7974 */
     
    109104 * @link http://codex.wordpress.org/Template_Tags/the_author_meta
    110105 * @since 2.8.0
    111  * @uses $authordata The current author's DB object (if $user_id not specified).
    112106 * @param string $field selects the field of the users record.
    113107 * @param int $user_id Optional. User ID.
     
    169163 * If the author has a home page set, return an HTML link, otherwise just return the
    170164 * author's name.
    171  *
    172  * @uses get_the_author_meta()
    173  * @uses get_the_author()
    174165 */
    175166function get_the_author_link() {
     
    190181 *
    191182 * @since 2.1.0
    192  *
    193  * @uses get_the_author_link()
    194183 */
    195184function the_author_link() {
     
    202191 * @since 1.5.0
    203192 *
    204  * @uses $post The current post in the Loop's DB object.
    205  * @uses count_user_posts()
    206193 * @return int The number of posts by the author.
    207194 */
     
    219206 * @link http://codex.wordpress.org/Template_Tags/the_author_posts
    220207 * @since 0.71
    221  * @uses get_the_author_posts() Echoes returned value from function.
    222208 */
    223209function the_author_posts() {
     
    234220 * @link http://codex.wordpress.org/Template_Tags/the_author_posts_link
    235221 * @since 1.2.0
    236  * @uses $authordata The current author's DB object.
    237  * @uses get_author_posts_url()
    238  * @uses get_the_author()
    239222 * @param string $deprecated Deprecated.
    240223 */
Note: See TracChangeset for help on using the changeset viewer.