woothemes/woocommerce — pull request #2014 by ssmathias (2012-12-18 18:42:57+00:00)
Title: Updated to include coupon on woocommerce_item_is_discounted filter.

This updates the woocommerce_item_is_discounted filter to include the coupon that was used to calculate the default value. This allows those who hook into the filter to have access to the same information that was used to derive the initial value, and thus can be presumed to be of value to those filtered-in functions.