fix typo in get_variation_sale_price argument list

This commit is contained in:
Daniel Abernathy 2016-11-21 19:17:50 -06:00 committed by GitHub
parent 89e628f3d5
commit 4a758ef5ca
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ class WC_Product_Variable extends WC_Product {
* @param boolean $include_taxes Should the price include taxes?
* @return string
*/
public function get_variation_sale_price( $min_or_max = 'min', $inclde_taxes = false ) {
public function get_variation_sale_price( $min_or_max = 'min', $include_taxes = false ) {
$prices = $include_taxes ? $this->get_variation_prices_including_taxes() : $this->get_variation_prices();
$price = 'min' === $min_or_max ? current( $prices['sale_price'] ) : end( $prices['sale_price'] );
return apply_filters( 'woocommerce_get_variation_sale_price', $price, $this, $min_or_max, $include_taxes );