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
This commit is contained in:
Sergey Biryukov 2019-07-31 01:19:56 +00:00
parent d5c7657189
commit 383c1df66b
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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.