From 99709adb4ead1d96a77b33b11aecab049ff7e65c Mon Sep 17 00:00:00 2001 From: westi Date: Sat, 2 Jan 2010 17:15:11 +0000 Subject: [PATCH] phpDoc for get_pending_comments_num(). git-svn-id: http://svn.automattic.com/wordpress/trunk@12595 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/comment.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/includes/comment.php b/wp-admin/includes/comment.php index 26f25564a1..528049f2f5 100644 --- a/wp-admin/includes/comment.php +++ b/wp-admin/includes/comment.php @@ -96,13 +96,13 @@ function get_comment_to_edit( $id ) { } /** - * {@internal Missing Short Description}} + * Get the number of pending comments on a post or posts * * @since unknown * @uses $wpdb * - * @param int $post_id Post ID - * @return unknown + * @param int|array $post_id Either a single Post ID or an array of Post IDs + * @return int|array Either a single Posts pending comments as an int or an array of ints keyed on the Post IDs */ function get_pending_comments_num( $post_id ) { global $wpdb;