Remove redundant rendundancy in deprecation notices
This commit is contained in:
parent
eb79566985
commit
d5981b34e8
|
@ -128,11 +128,11 @@ abstract class WC_Legacy_Cart {
|
|||
|
||||
// Arrays returned by reference to allow modification without notices. TODO: Remove in 4.0.
|
||||
case 'taxes' :
|
||||
wc_deprecated_function( 'WC_Cart->taxes', '3.2', sprintf( 'Use getters (%s) and setters (%s)', 'WC_Cart::get_cart_contents_taxes()', 'WC_Cart::set_cart_contents_taxes()' ) );
|
||||
wc_deprecated_function( 'WC_Cart->taxes', '3.2', sprintf( 'getters (%s) and setters (%s)', 'WC_Cart::get_cart_contents_taxes()', 'WC_Cart::set_cart_contents_taxes()' ) );
|
||||
$value = &$this->totals[ 'cart_contents_taxes' ];
|
||||
break;
|
||||
case 'shipping_taxes' :
|
||||
wc_deprecated_function( 'WC_Cart->shipping_taxes', '3.2', sprintf( 'Use getters (%s) and setters (%s)', 'WC_Cart::get_shipping_taxes()', 'WC_Cart::set_shipping_taxes()' ) );
|
||||
wc_deprecated_function( 'WC_Cart->shipping_taxes', '3.2', sprintf( 'getters (%s) and setters (%s)', 'WC_Cart::get_shipping_taxes()', 'WC_Cart::set_shipping_taxes()' ) );
|
||||
$value = &$this->totals[ 'shipping_taxes' ];
|
||||
break;
|
||||
case 'coupon_discount_amounts' :
|
||||
|
|
Loading…
Reference in New Issue