From 119e88cdf8dafcc1670b042836b0a4111f175acf Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Tue, 2 Feb 2010 22:58:06 +0000 Subject: [PATCH] phpdoc for global_terms(). see #11644 git-svn-id: https://develop.svn.wordpress.org/trunk@12932 602fd350-edb4-49c9-b593-d223f7449a82 --- 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;