WordPress.org

Make WordPress Core

Ticket #29901: 29901.patch

File 29901.patch, 516 bytes (added by amruta123.b, 7 years ago)

Patch for inline doc of get_term_link

  • taxonomy.php

     
    36373637 *
    36383638 * @since 2.5.0
    36393639 *
    3640  * @param object|int|string $term
     3640 * @param object|int|string $term The term object or term ID or term slug whose link will be retrieved
    36413641 * @param string $taxonomy (optional if $term is object)
    36423642 * @return string|WP_Error HTML link to taxonomy term archive on success, WP_Error if term does not exist.
    36433643 */