From 5187fc04a2b3b4b6df65c94bdde42e7982997db0 Mon Sep 17 00:00:00 2001
From: Siobhan McKeown <siobhan@wordsforwp.com>
Date: Sun, 30 Sep 2012 14:26:02 +0100
Subject: [PATCH] Updated docs for credits.php

---
 wp-admin/credits.php |   21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/wp-admin/credits.php b/wp-admin/credits.php
index 1367276..c89570f 100644
--- a/wp-admin/credits.php
+++ b/wp-admin/credits.php
@@ -11,6 +11,13 @@ require_once( './admin.php' );
 
 $title = __( 'Credits' );
 
+/**
+* Retrieves the contributor credits
+* @since 3.2
+* @uses $wp_version Retrieves the current WordPress version
+* 
+* @return array list of all of the contributors
+*/
 function wp_credits() {
 	global $wp_version;
 	$locale = get_locale();
@@ -36,10 +43,24 @@ function wp_credits() {
 	return $results;
 }
 
+/**
+* Retrieves the link to the contributor's WordPress.org profile
+* 
+* @since 3.2
+* 
+* @return string Contributor display name and username, hyperlinked to WordPress.org profile
+*/
 function _wp_credits_add_profile_link( &$display_name, $username, $profiles ) {
 	$display_name = '<a href="' . esc_url( sprintf( $profiles, $username ) ) . '">' . esc_html( $display_name ) . '</a>';
 }
 
+/**
+* Retrieves the external libraries used in WordPress
+* 
+* @since 3.2
+* 
+* @return string link to external library
+*/
 function _wp_credits_build_object_link( &$data ) {
 	$data = '<a href="' . esc_url( $data[1] ) . '">' . $data[0] . '</a>';
 }
-- 
1.7.10.2 (Apple Git-33)

