Skip to content

Loading…

The comment of WC_Product::get_tags() has a minor problem. #2319

Closed
boxoft opened this Issue · 0 comments

2 participants

@boxoft

The comment of the get_tags() method of the WC_Product class has a minor problem.

 /**
 * Returns the product tags.
 *
 * @access public
 * @param string $sep (default: ')
 * @param mixed '
 * @param string $before (default: '')
 * @param string $after (default: '')
 * @return array
 */
function get_tags( $sep = ', ', $before = '', $after = '' ) {
    return get_the_term_list($this->id, 'product_tag', $before, $sep, $after);
}

The comment for the first parameter should be:

@param string $sep (default: ', ')
@mikejolley mikejolley added a commit that closed this issue
@mikejolley mikejolley Comment Closes #2319. b214e05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.