woothemes/woocommerce — pull request #3956 by atomworks (2013-10-19 12:59:18+00:00)
Title: Fix: Download permissions not granted on order completion.

$downloads was being built from a function that tried to read from the permissions table and not from the correct post meta which it actually needed. This resulted in having to manually grant permissions for each order made.

Original symptom was download links not appearing on order completion screen or completion e-mail.