wp/wp-admin/includes/comment.php
changeset 5 5e2f62d02dcd
parent 0 d970ebf37754
child 7 cf61fcea0001
--- a/wp/wp-admin/includes/comment.php	Mon Jun 08 16:11:51 2015 +0000
+++ b/wp/wp-admin/includes/comment.php	Tue Jun 09 03:35:32 2015 +0200
@@ -10,7 +10,8 @@
  * Determine if a comment exists based on author and date.
  *
  * @since 2.0.0
- * @uses $wpdb
+ *
+ * @global wpdb $wpdb WordPress database abstraction object.
  *
  * @param string $comment_author Author of the comment
  * @param string $comment_date Date of the comment
@@ -110,7 +111,8 @@
  * Get the number of pending comments on a post or posts
  *
  * @since 2.3.0
- * @uses $wpdb
+ *
+ * @global wpdb $wpdb WordPress database abstraction object.
  *
  * @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