Merge pull request #2432 from thenbrent/deprecated-paypal-class
Add deprecated WC_Paypal class
This commit is contained in:
commit
8bc3a0934a
|
@ -750,3 +750,10 @@ class WC_Gateway_Paypal extends WC_Payment_Gateway {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
class WC_Paypal extends WC_Gateway_Paypal {
|
||||
public function __construct() {
|
||||
_deprecated_function( 'WC_Paypal', '1.4', 'WC_Gateway_Paypal' );
|
||||
parent::__construct();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue