update the action name according to the commited action name in woocommerce core.
added a patch for woocommerce 1.6.x, required to make the plugin work.