From 9111a5405f549e14e3e705e19d633b649760dc0b Mon Sep 17 00:00:00 2001 From: westi Date: Wed, 16 Dec 2009 22:13:53 +0000 Subject: [PATCH] Fix phpDoc for Comment Meta functions to refer to comments not posts. See #11462 props sirzooro. git-svn-id: http://svn.automattic.com/wordpress/trunk@12420 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/comment.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/wp-includes/comment.php b/wp-includes/comment.php index 4e641862c2..36861f7774 100644 --- a/wp-includes/comment.php +++ b/wp-includes/comment.php @@ -371,13 +371,11 @@ function get_comment_count( $post_id = 0 ) { /** * Add meta data field to a comment. * - * Post meta data is called "Custom Fields" on the Administration Panels. - * * @since 2.9 * @uses add_metadata * @link http://codex.wordpress.org/Function_Reference/add_comment_meta * - * @param int $comment_id Post ID. + * @param int $comment_id Comment ID. * @param string $key Metadata name. * @param mixed $value Metadata value. * @param bool $unique Optional, default is false. Whether the same key should not be added. @@ -414,7 +412,7 @@ function delete_comment_meta($comment_id, $meta_key, $meta_value = '') { * @uses get_metadata * @link http://codex.wordpress.org/Function_Reference/get_comment_meta * - * @param int $comment_id Post ID. + * @param int $comment_id Comment ID. * @param string $key The meta key to retrieve. * @param bool $single Whether to return a single value. * @return mixed Will be an array if $single is false. Will be value of meta data field if $single @@ -436,7 +434,7 @@ function get_comment_meta($comment_id, $key, $single = false) { * @uses update_metadata * @link http://codex.wordpress.org/Function_Reference/update_comment_meta * - * @param int $comment_id Post ID. + * @param int $comment_id Comment ID. * @param string $key Metadata key. * @param mixed $value Metadata value. * @param mixed $prev_value Optional. Previous value to check before removing.