From 48aec5f822694203667bbe83af6867cebcf64d9e Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 2 Feb 2010 22:58:06 +0000 Subject: [PATCH] phpdoc for global_terms(). see #11644 git-svn-id: http://svn.automattic.com/wordpress/trunk@12932 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/ms-functions.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/wp-includes/ms-functions.php b/wp-includes/ms-functions.php index 3a6d7fae18..bf59db1958 100644 --- a/wp-includes/ms-functions.php +++ b/wp-includes/ms-functions.php @@ -1703,7 +1703,16 @@ function fix_import_form_size( $size ) { return $size; // default } -/* Global Categories */ +/** + * Maintains a canonical list of terms by syncing terms created for each blog with the global terms table. + * + * @since 3.0.0 + * + * @see term_id_filter + * + * @param int $term_id An ID for a term on the current blog. + * @return int An ID from the global terms table mapped from $term_id. + */ function global_terms( $term_id, $deprecated = '' ) { global $wpdb;