woothemes/woocommerce — pull request #4935 by BFTrick (2014-02-24 18:56:40+00:00)
Title: Adding Method to Calculate Percentage Rate Adjustment for Flat Rate Shipping

There was a lot of redundancy in the `calculate_shipping` method in the Flat Rate Shipping class. I extracted some of that logic and put it into it's own method.