Made methods static that were referenced from static

This commit is contained in:
Coen Jacobs 2013-08-15 09:22:38 +00:00
parent e01df544ec
commit 423522f05a
1 changed files with 3 additions and 3 deletions

View File

@ -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