WordPress.org

Make WordPress Core

Ticket #16282: 16282.patch

File 16282.patch, 553 bytes (added by SergeyBiryukov, 10 years ago)
  • wp-includes/taxonomy.php

     
    28152815 *
    28162816 * @param object|int|string $term
    28172817 * @param string $taxonomy (optional if $term is object)
    2818  * @return string HTML link to taxonomy term archive
     2818 * @return string|WP_Error HTML link to taxonomy term archive on success, WP_Error if term does not exist.
    28192819 */
    28202820function get_term_link( $term, $taxonomy = '') {
    28212821        global $wp_rewrite;