woothemes/woocommerce — pull request #6507 by chrisnharvey (2014-10-10 14:47:03+00:00)
Title: Pass cart item values to is_valid_for_product method in WC_Coupon

This is simply so third party plugins can determine if a cart item is valid for a discount based on custom item attributes.

This is done in a backward compatible manner so it shouldn't affect compatibility with plugins that already hook into this filter.