WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
[resolved] Comment isn't correct (2 posts)

  1. box
    Member
    Posted 1 year 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: ', ')

    http://wordpress.org/extend/plugins/woocommerce/

  2. box
    Member
    Posted 1 year ago #

    I posted the bug at https://github.com/woothemes/woocommerce/issues/2319 after reading the post "Please read before posting :)". ;-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic