Made methods static that were referenced from static
This commit is contained in:
parent
e01df544ec
commit
423522f05a
|
@ -66,7 +66,7 @@ class WC_Shortcode_Checkout {
|
|||
/**
|
||||
* Show the pay page
|
||||
*/
|
||||
private function order_pay( $order_id ) {
|
||||
private static function order_pay( $order_id ) {
|
||||
global $woocommerce;
|
||||
|
||||
do_action( 'before_woocommerce_pay' );
|
||||
|
@ -171,7 +171,7 @@ class WC_Shortcode_Checkout {
|
|||
/**
|
||||
* Show the thanks page
|
||||
*/
|
||||
private function order_received( $order_id = 0 ) {
|
||||
private static function order_received( $order_id = 0 ) {
|
||||
global $woocommerce;
|
||||
|
||||
wc_print_messages();
|
||||
|
@ -197,7 +197,7 @@ class WC_Shortcode_Checkout {
|
|||
/**
|
||||
* Show the checkout
|
||||
*/
|
||||
private function checkout() {
|
||||
private static function checkout() {
|
||||
global $woocommerce;
|
||||
|
||||
// Show non-cart errors
|
||||
|
|
Loading…
Reference in New Issue