woothemes/woocommerce — pull request #4476 by ragulka (2014-01-09 10:15:07+00:00)
Title: Check for actions before looping over them

This avoids nasty PHP Warnings in error logs