woothemes/woocommerce — pull request #4386 by justinstern (2013-12-16 23:31:31+00:00)
Title: Downloadable File Fixes/Tweaks

* Hooked up new downloadable product permissions function to completed/processing actions
* WC_Product::get_files() is used rather than the underlying _downloadable_files meta directly
* $this is passed to downloadable product filters in WC_Product in place of $this->id which doesn't does not afford you the particular variation when a product variation is being used.