Merge pull request #3523 from themesquad/master
Fixed "Strict Standards" warning on the process_payment() declaration.
This commit is contained in:
commit
f67f48558c
|
@ -144,10 +144,11 @@ abstract class WC_Payment_Gateway extends WC_Settings_API {
|
|||
*
|
||||
* Process the payment. Override this in your gateway.
|
||||
*
|
||||
* @param int $order_id
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
function process_payment() {}
|
||||
function process_payment( $order_id ) {}
|
||||
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue