From dbe67c458616be1ca99b09fce85d6bf33c847950 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 22 Jan 2020 00:39:32 +0000 Subject: [PATCH] Docs: Expand `@return` description for `the_terms()`. See #48303. git-svn-id: https://develop.svn.wordpress.org/trunk@47103 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/category-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/category-template.php b/src/wp-includes/category-template.php index ea931d0e7a..63fda9eafd 100644 --- a/src/wp-includes/category-template.php +++ b/src/wp-includes/category-template.php @@ -1388,7 +1388,7 @@ function get_term_parents_list( $term_id, $taxonomy, $args = array() ) { * @param string $before Optional. Before list. * @param string $sep Optional. Separate items using this. * @param string $after Optional. After list. - * @return void|false False on WordPress error. + * @return void|false Void on success, false on failure. */ function the_terms( $id, $taxonomy, $before = '', $sep = ', ', $after = '' ) { $term_list = get_the_term_list( $id, $taxonomy, $before, $sep, $after );