X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/f9001779751f83dc8a10e478bfecb4d8dd5f964c..61343b82c4f0da4c68e4c6373daafff4a81efdd1:/wp-admin/includes/comment.php diff --git a/wp-admin/includes/comment.php b/wp-admin/includes/comment.php index d731130a..1620755b 100644 --- a/wp-admin/includes/comment.php +++ b/wp-admin/includes/comment.php @@ -7,14 +7,14 @@ */ /** - * {@internal Missing Short Description}} + * Determine if a comment exists based on author and date. * * @since 2.0.0 * @uses $wpdb * * @param string $comment_author Author of the comment * @param string $comment_date Date of the comment - * @return mixed Comment ID on success. + * @return mixed Comment post ID on success. */ function comment_exists($comment_author, $comment_date) { global $wpdb; @@ -68,11 +68,11 @@ function edit_comment() { } /** - * {@internal Missing Short Description}} + * Returns a comment object based on comment ID. * * @since 2.0.0 * - * @param int $id ID of comment to retrieve + * @param int $id ID of comment to retrieve. * @return bool|object Comment if found. False on failure. */ function get_comment_to_edit( $id ) { @@ -156,4 +156,3 @@ function enqueue_comment_hotkeys_js() { if ( 'true' == get_user_option( 'comment_shortcuts' ) ) wp_enqueue_script( 'jquery-table-hotkeys' ); } -?>