From 383c1df66b0a7bb531655b727155c5f38c05516a Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 31 Jul 2019 01:19:56 +0000 Subject: [PATCH] Docs: Correct `@return` value description for `get_term_link()`. Props garrett-eclipse. Fixes #47806. Built from https://develop.svn.wordpress.org/trunk@45702 git-svn-id: http://core.svn.wordpress.org/trunk@45513 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/taxonomy.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php index d29896411f..dd59c27635 100644 --- a/wp-includes/taxonomy.php +++ b/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; diff --git a/wp-includes/version.php b/wp-includes/version.php index 6b51af738c..1944ce902b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-alpha-45701'; +$wp_version = '5.3-alpha-45702'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.