Make WordPress Core

Changeset 26867


Ignore:
Timestamp:
12/24/2013 04:42:54 PM (11 years ago)
Author:
DrewAPicture
Message:

Remove some @uses references to apply_filters and do_action rendered redundant by hook documentation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/comment.php

    r26492 r26867  
    747747 * @since 2.0.0
    748748 * @uses $wpdb
    749  * @uses apply_filters() Calls 'pre_comment_approved' hook on the type of comment
    750  * @uses apply_filters() Calls 'comment_duplicate_trigger' hook on commentdata.
    751  * @uses do_action() Calls 'check_comment_flood' hook on $comment_author_IP, $comment_author_email, and $comment_date_gmt
    752749 *
    753750 * @param array $commentdata Contains information on the comment
     
    830827 * @since 2.3.0
    831828 * @uses $wpdb
    832  * @uses apply_filters() Calls 'comment_flood_filter' filter with first
    833  *      parameter false, last comment timestamp, new comment timestamp.
    834  * @uses do_action() Calls 'comment_flood_trigger' action with parameters with
    835  *      last comment timestamp and new comment timestamp.
    836829 *
    837830 * @param string $ip Comment IP.
     
    903896 *
    904897 * @since 2.7.0
    905  * @uses get_query_var() Used to fill in the default for $per_page parameter.
    906  * @uses get_option() Used to fill in defaults for parameters.
     898 *
    907899 * @uses Walker_Comment
    908900 *
     
    10111003 *
    10121004 * @since 1.5.0
    1013  * @uses do_action() Calls 'wp_blacklist_check' hook for all parameters.
    10141005 *
    10151006 * @param string $author The author of the comment
     
    11421133 * @since 2.0.0
    11431134 * @uses $wpdb
    1144  * @uses do_action() Calls 'delete_comment' hook on comment ID
    1145  * @uses do_action() Calls 'deleted_comment' hook on comment ID after deletion, on success
    1146  * @uses do_action() Calls 'wp_set_comment_status' hook on comment ID with 'delete' set for the second parameter
    11471135 * @uses wp_transition_comment_status() Passes new and old comment status along with $comment object
    11481136 *
     
    12171205 *
    12181206 * @since 2.9.0
    1219  * @uses do_action() on 'trash_comment' before trashing
    1220  * @uses do_action() on 'trashed_comment' after trashing
     1207 *
    12211208 * @uses wp_delete_comment() if trash is disabled
    12221209 *
     
    12621249 *
    12631250 * @since 2.9.0
    1264  * @uses do_action() on 'untrash_comment' before untrashing
    1265  * @uses do_action() on 'untrashed_comment' after untrashing
    12661251 *
    12671252 * @param int $comment_id Comment ID.
     
    13061291 *
    13071292 * @since 2.9.0
    1308  * @uses do_action() on 'spam_comment' before spamming
    1309  * @uses do_action() on 'spammed_comment' after spamming
    13101293 *
    13111294 * @param int $comment_id Comment ID.
     
    13451328 *
    13461329 * @since 2.9.0
    1347  * @uses do_action() on 'unspam_comment' before unspamming
    1348  * @uses do_action() on 'unspammed_comment' after unspamming
    13491330 *
    13501331 * @param int $comment_id Comment ID.
     
    19551936 * @since 2.5.0
    19561937 * @uses $wpdb
    1957  * @uses do_action() Calls 'wp_update_comment_count' hook on $post_id, $new, and $old
    1958  * @uses do_action() Calls 'edit_posts' hook on $post_id and $post
    19591938 *
    19601939 * @param int $post_id Post ID
Note: See TracChangeset for help on using the changeset viewer.