Forums
Forums / Plugin: WooCommerce / Comment isn't correct
(@boxoft)
13 years, 3 months ago
The comment of the get_tags() method of the WC_Product class isn’t correct.
/** * 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: ', ')
@param string $sep (default: ', ')
http://wordpress.org/extend/plugins/woocommerce/
I posted the bug at https://github.com/woothemes/woocommerce/issues/2319 after reading the post “Please read before posting :)”. 😉
The topic ‘Comment isn't correct’ is closed to new replies.
(@boxoft)
13 years, 3 months ago
The comment of the get_tags() method of the WC_Product class isn’t correct.
The comment for the first parameter should be:
@param string $sep (default: ', ')http://wordpress.org/extend/plugins/woocommerce/