Title: Comment isn&#039;t correct
Last modified: August 20, 2016

---

# Comment isn't correct

 *  Resolved [box](https://wordpress.org/support/users/boxoft/)
 * (@boxoft)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/comment-isnt-correct/)
 * 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:',')`
 * [http://wordpress.org/extend/plugins/woocommerce/](http://wordpress.org/extend/plugins/woocommerce/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [box](https://wordpress.org/support/users/boxoft/)
 * (@boxoft)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/comment-isnt-correct/#post-3420681)
 * I posted the bug at [https://github.com/woothemes/woocommerce/issues/2319](https://github.com/woothemes/woocommerce/issues/2319)
   after reading the post “Please read before posting :)”. 😉

Viewing 1 replies (of 1 total)

The topic ‘Comment isn't correct’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [comment](https://wordpress.org/support/topic-tag/comment/)

 * 1 reply
 * 1 participant
 * Last reply from: [box](https://wordpress.org/support/users/boxoft/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/comment-isnt-correct/#post-3420681)
 * Status: resolved