ralcus/woocommerce — comment on commit d35312fba83a8839033b71a45fedf7768269f351
File:  line 0
By joeblackwaslike:

i added some code to allow re-registering fancybox to be conditonal on it being enabled, made the conditional in both cases refer to a variable, and perform/save the check to a variable in the beginning to prevent multiple calls to the database.

let me know what you think, still new to the git workflow

https://github.com/joeblackwaslike/woocommerce/commit/d2e525519f7df03411a64c48d5ab2a29e2878e1e