From 288681a0b1a3f930e58c329a86bfacb74fccf8f6 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 31 Jul 2019 01:18:23 +0000 Subject: [PATCH] Docs: Correct `@return` value description for `get_term_link()`. Props garrett-eclipse. Fixes #47806. git-svn-id: https://develop.svn.wordpress.org/trunk@45702 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/taxonomy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/taxonomy.php b/src/wp-includes/taxonomy.php index d29896411f..dd59c27635 100644 --- a/src/wp-includes/taxonomy.php +++ b/src/wp-includes/taxonomy.php @@ -4166,7 +4166,7 @@ function wp_term_is_shared( $term_id ) { * * @param object|int|string $term The term object, ID, or slug whose link will be retrieved. * @param string $taxonomy Optional. Taxonomy. Default empty. - * @return string|WP_Error HTML link to taxonomy term archive on success, WP_Error if term does not exist. + * @return string|WP_Error URL of the taxonomy term archive on success, WP_Error if term does not exist. */ function get_term_link( $term, $taxonomy = '' ) { global $wp_rewrite;