WordPress.org

Make WordPress Core

Changeset 45702


Ignore:
Timestamp:
07/31/2019 01:18:23 AM (15 months ago)
Author:
SergeyBiryukov
Message:

Docs: Correct @return value description for get_term_link().

Props garrett-eclipse.
Fixes #47806.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/taxonomy.php

    r45667 r45702  
    41674167 * @param object|int|string $term     The term object, ID, or slug whose link will be retrieved.
    41684168 * @param string            $taxonomy Optional. Taxonomy. Default empty.
    4169  * @return string|WP_Error HTML link to taxonomy term archive on success, WP_Error if term does not exist.
     4169 * @return string|WP_Error URL of the taxonomy term archive on success, WP_Error if term does not exist.
    41704170 */
    41714171function get_term_link( $term, $taxonomy = '' ) {
Note: See TracChangeset for help on using the changeset viewer.