Merge pull request #2432 from thenbrent/deprecated-paypal-class

Add deprecated WC_Paypal class
This commit is contained in:
Mike Jolley 2013-02-12 02:55:15 -08:00
commit 8bc3a0934a
1 changed files with 7 additions and 0 deletions

View File

@ -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();
}
}