Merge pull request #6819 from michaeltieso/patch-1

Spelling correction - calculdate to calculate
This commit is contained in:
Barry Kooij 2014-11-21 22:28:05 +01:00
commit 61513b34b0
1 changed files with 2 additions and 2 deletions

View File

@ -745,7 +745,7 @@ class WC_Product {
/**
* Returns the price (including tax). Uses customer tax rates. Can work for a specific $qty for more accurate taxes.
*
* @param string $price to calculdate, left blank to just use get_price()
* @param string $price to calculate, left blank to just use get_price()
* @return string
*/
public function get_price_including_tax( $qty = 1, $price = '' ) {
@ -799,7 +799,7 @@ class WC_Product {
* Returns the price (excluding tax) - ignores tax_class filters since the price may *include* tax and thus needs subtracting.
* Uses store base tax rates. Can work for a specific $qty for more accurate taxes.
*
* @param string $price to calculdate, left blank to just use get_price()
* @param string $price to calculate, left blank to just use get_price()
* @return string
*/
public function get_price_excluding_tax( $qty = 1, $price = '' ) {